Michael E. Pryce
3623 55th Street Northeast
Tacoma, WA 98422
Voice: 1.253.568.9688
Fax: 1.253.568.9630
E-mail: mepdt@att.net
The following Sort/Merge statements are supported (SORT, MERGE and END).
The following Sort/Merge statements are recognized but not supported (ALTSEQ, DEBUG, INCLUDE, INREC, MODS, OMIT, OPTION, OUTFIL, OUTREC, RECORD and SUM).
When specifying SORT or MERGE the following Sort/Merge statements are supported (FIELDS, FORMAT, EQUALS, SKIPREC and STOPAFT). In addition, FILES=n is supported for SORT (n=1-9) to allow for input file concatenation. If FORMAT is used, please specify it before using the FIELDS statement.
When specifying SORT or MERGE the following Sort/Merge statements are recognized but not supported (CKPT, DYNALLOC, DYNALLOC=, NOEQUALS, FILESZ, SIZE and Y2PAST).
The following Control Field Formats are supported for SORT or MERGE (CH, ZD, PD, PD0, FI, BI, FL, AC, CSF or FS, CSL or LS, CST or TS, CLO or OL, CTO or OT, ASL, AST,Y2T, Y2U, Y2V, Y2W, Y2X, Y2Y, Y2C or Y2Z, Y2P, Y2D, Y2S and Y2B).
The following Control Field Formats are neither recognized nor supported for SORT or MERGE (AQ-Alternate Collating Sequence and D1-User Defined).
Future plans are to support limited subsets of INCLUDE and OMIT statements, limited subsets of callable SORT of MERGE capabilites, and 31-bit above the line programming.
//SORT JOB //SORT010 EXEC PGM=SORT //STEPLIB DD DSN=LOAD,DISP=SHR //SYSIN DD * SORT FIELDS=(35,2,Y2U,D, 21,5,ZD,A, 0041,08,CH,A, 036,05,FI,A, 00005,03,PD,A), SKIPREC=20, STOPAFT=25, FILES=1 (REQUIRED for 2-9 INPUTS) END /* //SYSOUT DD * //SORTIN DD DSN=SORT.IN,DISP=OLD, // PATH='C:\INPUT.FILE', // FILEDATA=RECORD, // DCB=(RECFM=VB,LRECL=1000,BLKSIZE=20000) //SORTOUT DD DSN=SORT.OUT,DISP=(NEW,KEEP,DELETE), // PATH='C:\OUTPUT.FILE', // FILEDATA=RECORD //SORTWK01 DD DSN=&&SORTWK01 ........... thru ............ //SORTWK99 DD DSN=&&SORTWK99 //