Author: rajatbagga
Subject: Re: Reply to: compare 2 records in seq. file & report differ
Posted: Tue Sep 20, 2016 10:50 am (GMT 5.5)
Hello Skolusu, I know it's been a while now, but is the above code still valid.. I tried to run it for 380 LRECL but it failed at STEP0200 giving
Regards,
Rajat
Subject: Re: Reply to: compare 2 records in seq. file & report differ
Posted: Tue Sep 20, 2016 10:50 am (GMT 5.5)
Skolusu wrote: | ||||
dr.ostman, Here is DFSORT/ICETOOL Job which will give the desired results. However there are certain limitations for the job. 1. We can compare upto a max lrecl of 9999. 2. Input files are are always FB (no variable block files) You need to supply the LRECL of the file to be compared via SYMNAMES DD.
The range of n is from +1 to +4096. Once you supply the LRECL in STEP0100 of the job it automatically builds the control cards on the fly and the actual compare is done in step0200 using the dynamic control cards created in step0100.
|
Hello Skolusu, I know it's been a while now, but is the above code still valid.. I tried to run it for 380 LRECL but it failed at STEP0200 giving
Code: |
ICE000I 0 - CONTROL STATEMENTS FOR 5650-ZOS, Z/OS DFSORT V2R1 - 15:08 ON TUE SE OUTFIL FNAMES=OUT,IFOUTLEN=0380, IFTHEN=(WHEN=(0761,0380,CH,EQ,C' '),BUILD=(01,0380,/,0381,0380)), IFTHEN=(WHEN=NONE,BUILD=(01,0380,/,0761,0380,/,0381,0380)) ICE146I 0 END OF STATEMENTS FROM CTL2CNTL - PARAMETER LIST STATEMENTS FOLLOW DEBUG NOABEND,ESTAE OPTION MSGDDN=DFSMSG,LIST,MSGPRT=ALL,RESINV=0,SORTDD=CTL2,SORTIN=M1,SO TOUT=OUT,DYNALLOC SORT FIELDS=COPY ICE221A 1 INVALID FIELD OR CONSTANT IN OUT IFTHEN 1 CONDITION 1 |
Regards,
Rajat