Large Files -- Big Volume of Records Help Needed

In this Mainframe Forum - You can post your queries on FILE-AID tool

Moderators: Anuj Dhawan, Moderator Group

Post Reply
Ardhendu

Large Files -- Big Volume of Records Help Needed

Post by Ardhendu » Wed Jun 21, 2006 10:54 pm

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 ')

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Fri Jan 02, 2009 5:00 pm

Hi,

15000 recors are actually not a big amount, but I'm not very clear with what you are asking - do you want to matched records in the output file ? If you ever come back, reply, we may work around.
Regards,
Anuj

Post Reply

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



Other References
Mainframe Tools and others