I need to compare file A and file B and write out only the unmatched records from file B into file C (which is also 4000 bytes). Can this be accomplished by sort.
,ICE090I,0 OUTPUT LRECL = 550, BLKSIZE = 27500, TYPE = FB
ICE171I 0 SORTOUT LRECL OF 550 IS DIFFERENT FROM SORTIN(NN) LRECL OF 204 - RC=0
ICE055I 0 INSERT 0, DELETE 0
ICE054I 0 RECORDS - IN: 15602, OUT: 15602
ICE052I 0 END OF DFSORT
1ICE200I 0 IDENTIFIER FROM CALLING PROGRAM IS 0003
ICE143I 0 BLOCKSET SORT TECHNIQUE SELECTED
ICE250I 0 VISIT www.ibm.com/storage/dfsort FOR DFSORT PAPERS, EXAMPLES A
ICE000I 0 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R10 - 13:27 ON FRI F
0 OUTFIL FNAMES=OUT,INCLUDE=(551,1,CH,EQ,C'1'),
BUILD=(1,550)
ICE146I 0 END OF STATEMENTS FROM CTL3CNTL - PARAMETER LIST STATEMENTS FOLLOW
DEBUG NOABEND,ESTAE
OPTION MSGDDN=DFSMSG,LIST,MSGPRT=ALL,RESINV=0,SORTDD=CTL3,SORTIN=T1,S
TOUT=OUT,DYNALLOC,SZERO,EQUALS,NOVLSHRT,LOCALE=NONE,NO
ECK
SORT FIELDS=(1,9,CH,A)
MODS E35=(ICE35DU,12288)
ICE201I F RECORD TYPE IS F - DATA STARTS IN POSITION 1
ICE027A 9 END OF OUT FIELD BEYOND MAXIMUM RECORD LENGTH
ICE751I 0 C5-K48846 C6-K90014 C7-K45047 C8-K46331 E4-BASE E7-K48846
ICE052I 3 END OF DFSORT
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Well, it would have helped if you'd shown ALL of the //DFSMSG messages, but I think I can take an educated guess as to what's wrong.
My guess is that your site has changed the shipped installation default of SOLRF=YES to SOLRF=NO. This is NOT recommended! You can look up these options in "z/OS DFSORT Installation and Customization" to see what they do.
To override your site's bad choice, you would have to add this to your job (and probably to other jobs):
Code:
//DFSPARM DD *
OPTION SOLRF
/*
You might want to ask your System Programmers why they changed the default from SOLRF=YES to SOLRF=NO and if they realize what problems that can cause.
Quote:
Please reply me asap.
Sorry I didn't respond sooner, but I had the bad manners to go to lunch because I was hungry.