Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
Posted: Tue Dec 06, 2005 8:20 am Post subject:
6930,
Please Use meaningful topics, do not use the Forum name for the topic, also Post detailed information on what you're trying to accomplish. Do not make people guess what you mean. This will give you a much better chance of getting a good answer to your question.
You haven't provided the lrecl , recfm and how you are matching the records.
Assuming that both files are of the same lrecl(80) and file1 has unique records and file2 has duplicate records the following JCL will give you the desired results. Also I assumed
SYNCSORT FOR Z/OS 1.1CN TPF2A U.S. PATENTS: 4210961, 5117495 (C) 2002 SYNC
z/OS 1.4.0
PRODUCT LICENSED FOR CPU SERIAL NUMBER 30366, MODEL 9672 LICEN
SYSIN :
SORT FIELDS=COPY
WER164B 6,896K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 0 BYTES RESERVE REQUESTED, 173K BYTES USED
WER146B 20K BYTES OF EMERGENCY SPACE ALLOCATED
WER108I SORTIN : RECFM=FB ; LRECL= 80; BLKSIZE= 80
WER110I SORTOUT : RECFM=FB ; LRECL= 80; BLKSIZE= 80
WER416B BSAM WAS USED FOR SORTIN
WER416B BSAM WAS USED FOR SORTOUT
WER054I RCD IN 1, OUT 1
WER169I RELEASE 1.1C BATCH 0401 TPF LEVEL 2A
WER052I END SYNCSORT -
DIAG=CA00,4802,E204,ECEE,82EA,6C8A,A
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum