ICE201I 0 RECORD TYPE IS F - DATA STARTS IN POSITION 1 CODE WAS 0A3-42: 14:27:3
ICE805I 1 JOBNAME: XGRGCBKR , STEPNAME: POPULATE
ICE802I 0 BLOCKSET TECHNIQUE IN CONTROL
ICE857I 0 C=2, LA=1286076, DA=2348, LB=10688, DB=1469, MB=136, CB=641864, UB=12
ICE143I 0 BLOCKSET SORT TECHNIQUE SELECTED
ICE250I 0 VISIT http://www.ibm.com/storage/dfsort FOR DFSORT PAPERS, EXAMPLES A
ICE000I 1 - CONTROL STATEMENTS FOR 5650-ZOS, Z/OS DFSORT V2R1 - 14:27 ON WED D
OPTION SKIPREC=1, SKIP HEADER BEFORE SORT
NULLOUT=RC0 EMPTY SORTOUT IS OK
SORT FIELDS=(121,18,CH,A)
OUTFIL FNAMES=TRAILER, TRAILER RECORD
INCLUDE=(1,1,CH,EQ,C'T',
AND,
2,10,FS,EQ,NUM)
OUTFIL FNAMES=SORTOUT, ALL OTHER RECORDS
SAVE
ICE222A 0 598 BYTE FIXED RECORD LENGTH IS NOT EQUAL TO 1196 BYTE LRECL FOR SORTOUT
ICE751I 0 C5-N22817 C6-BASE C7-K96411 C8-I15445 E4-BASE E7-I12417
ICE052I 3 END OF DFSORT
The SORTIN dataset is FB/598
Code:
Data Set Information
Command ===>
Data Set Name . . . . : SEY.I3GR1.SCBRK.DATA.G0343V00
General Data Current Allocation
Management class . . : G020N395 Allocated cylinders : 1
Storage class . . . : STD Allocated extents . : 1
Volume serial . . . : S2SD10 +
Device type . . . . : 3390
Data class . . . . . : SMALL
Organization . . . : PS Current Utilization
Record format . . . : FB Used cylinders . . : 1
Record length . . . : 598 Used extents . . . : 1
Block size . . . . : 27508
1st extent cylinders: 1
Secondary cylinders : 1 Dates
Data set name type : Creation date . . . : 2015/12/15
Referenced date . . : 2015/12/16
Expiration date . . : ***None***
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
Well, yes, but not if you want to keep the records the correct length.
The KSDS has records of different length. When outputting fixed-length records it uses the maximum length as the LRECL. The FTOV is the correct solution to get the 598-byte records as 598-byte records.