I have the input file of LRECL=612 and i am soring the file on particular field from the postion 11-16 and writing the sorted filed in the output file
when i am using the below OUTREC syntax it is giving me the following error
ICE000I J - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R5 - 01:40 ON SAT OCT
SORT FIELDS=(15,6,PD,A)
SUM FIELDS=NONE
OUTREC FIELDS=(5:15,10,ZD,602X)
ICE201I J RECORD TYPE IS V - DATA STARTS IN POSITION 5
ICE126A J INCONSISTENT *OUTREC IFTHEN 0 REFORMATTING FIELD FOUND
ICE052I J END OF DFSORT
still i am getting the same error after adding the RDW also
ICE143I 0 BLOCKSET SORT TECHNIQUE SELECTED
ICE250I 0 VISIT www.ibm.com/storage/dfsort FOR DFSORT PAPERS, EXAMPLES AN
ICE000I 1 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R5 - 16:10 ON MON OCT
SORT FIELDS=(15,6,PD,A)
SUM FIELDS=NONE
OUTREC FIELDS=(5:15,10,ZD,606X)
ICE201I E RECORD TYPE IS V - DATA STARTS IN POSITION 5
ICE126A 2 INCONSISTENT *OUTREC IFTHEN 0 REFORMATTING FIELD FOUND
ICE751I 0 C5-K21008 C6-K90007 C7-K90000 C8-K90007 E7-K11698
ICE052I 3 END OF DFSORT
Can you please send the Syntax or both the fixed length and variable length file.
it is working
but with your OUTREC statment it is giving the DATA in the PD format
but I want the field to be converted to ZD, when i am using the ZD it is giving the following error
ICE143I 0 BLOCKSET SORT TECHNIQUE SELECTED
ICE250I 0 VISIT www.ibm.com/storage/dfsort FOR DFSORT PAPERS, EXAMPLES AN
ICE000I 1 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R5 - 16:38 ON MON OCT
SORT FIELDS=(15,6,PD,A)
SUM FIELDS=NONE
OUTREC FIELDS=(1,4,5:15,10,ZD)
ICE201I E RECORD TYPE IS V - DATA STARTS IN POSITION 5