PipeSort (SyncSort’s Value-Added Products) enables SyncSort to run multiple sorts simultaneously on the same input data.
For large input files, PipeSort significantly reduces total elapsed time compared to running separate sort jobs
PipeSort reads SORTIN once and distributes the input records to up to eight simultaneous SyncSort executions. The complete range of SyncSort control statements and PARMs is available for the individual sort operations.
The output files are differently sequenced according to user-specified sort keys and are written to different SRTnOUT DD data sets.
Sample JCL//STEP030 EXEC PGM=PIPESORT
//SYSOUT DD SYSOUT=*
//SYSOUT1 DD SYSOUT=*
//SYSOUT2 DD SYSOUT=*
//SORTIN DD DSN=Your.Input.File,DISP=SHR
//SRT1OUT DD DSN=Output.File1,
// DISP=(,CATLG),SPACE=(CYL,(50,50),RLSE),
// DCB=(RECFM=FB,LRECL=28,DSORG=PS)
//SRT2OUT DD DSN=Output.File2,
// DISP=(,CATLG),SPACE=(TRK,(5,1),RLSE),
// DCB=(RECFM=FB,LRECL=13,BLKSIZE=27989)
//SRT1CNTL DD *
SORT FIELDS=(5,6,CH,A,1,4,CH,A)
SUM FIELDS=NONE
//*
//SRT2CNTL DD *
SORT FIELDS=(1,13,CH,A)
INCLUDE COND=(7,1,CH,EQ,C'2')
OUTREC FIELDS=(1,13)
SUM FIELDS=NONE
//*
Note : If PIPESORT is not licensed for your shop,then you will get a WER903I message