VERIFIED SOLUTION i

How do you resolve this MailStream Plus error: SORT FAILED?

Product affected: MailStream Plus™
Product Feature: General
Operating System: Windows
 

Issue

The input file has over 10 million records (6000 byte rec length, 59 GB input file). There is over 450 GB free space on disk. 
Why are we getting this error in the MailStream Plus (MSP) job? :
 
MSST00D started. Comp 05272016 at 090658. Gen 05272016 at 090600. R08.3M02 F01.  
SORT FAILED

MSST00D Ended abnormally. Processing terminated. 
 

Cause

This is almost always a Hard Drive space issue.
MSP generates files, temporary files and does sorts that may be happening on a drive other than where the output files are written.

 

Resolution

UPDATED: March 13, 2019
Changing where files are written out to a larger drive may correct the problem.  Other suggestions are:
 
1) In the setup.bat you can change this value to a larger drive location:
 
SET SORT_DIR=%TEMP%
 
2)  In the jobname.bat file script, these locations can be changed to a larger drive for the temp areas.  Files are written to these locations and cleaned up at the end of the job :
 
TEMP=
TMP=
PBTMP=
 
3)  These are also on the Environment Variables on your system that can be changed to a larger drive.