Dear All,
I have a file(file A) containing 15000 (fifteen thousand) records. I have a separate file(file B) of 6 million records. Is there any easy way to select the 15,000 records from File A from File B? I tried SYNCSORT but there is a limit to the number of records so I cannot create these 15000 records in one step. Instead of writing a JCL with 140 steps, is there any other way this can be done?
Please Help,
Thanks,
Ardhendu.
*************** **************** ********* FILEAID USED ********************** *******
//STEP003R EXEC PGM=SORT
//SORTIN DD DSN=X101561.RXB0100.AHIS.TRD.BSTRDD.SORTED,DISP=SHR
//SORTOUT DD DSN=X101561.RXB0100.AHIS.TRD.BSTRDD.ID.UNIQUE,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(CYL,(1,1),RLSE),VOL=SER=TSO100,
// DCB=(DSORG=PS,RECFM=FB,LRECL=30,BLKSIZE=0)
//SORTXSUM DD DSN=X101561.RXB0100.AHIS.TRD.BSTRDD.ID.DUPES,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(CYL,(1,1),RLSE),VOL=SER=TSO100,
// DCB=(DSORG=PS,RECFM=FB,LRECL=30,BLKSIZE=0)
//SYSOUT DD SYSOUT=*
//SYSIN DD SUBSYS=(CCSS,
// ' SORT FIELDS=(12,18,CH,A) ',
// ' SUM FIELDS=NONE,XSUM ')
Large Files -- Big Volume of Records Help Needed
Moderators: Anuj Dhawan, Moderator Group
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page