Hello All,
For our billing process we received files from program group on regular basis. Sometimes they send us multiple files too. Program group place the file in the following DS.
SYSDN.FAKE.AGNCYIMF.DATA
SYSDN.FAKE.AGNCYIMF.DATA.G0172V00
SYSDN.FAKE.AGNCYIMF.DATA.G0173V00
We created the new member in USATESTA.IMF310.ITD.SOURCE (TCISmmdd).
We copied dataset provided by programming group as
SYSDN.FAKE.AGNCYIMF.DATA into new member TCIS0222
We edited existing member USATESTA.IMF310.ITD.SOURCE(JOBRUN)
//SORT EXEC PGM=SORT
//SORTIN DD DISP=OLD,DSN=USATESTA.IMF310.ITD.SOURCE(DEFAULT)
// DD DISP=OLD,DSN=USATESTA.IMF310.ITD.SOURCE(CWS)
// DD DISP=OLD,DSN=USATESTA.IMF310.ITD.SOURCE(TCIS0222)
// DD DISP=OLD,DSN=USATESTA.IMF310.ITD.SOURCE(PDB) ## 10/28/11
// DD DISP=OLD,DSN=USATESTA.IMF310.ITD.SOURCE(ETRS1211)
After that we submitted the job and its updates.
Now we want to use GDG for this purpose.
I have created GDG base as below:
//********************************************************
//* JCL FOR CREATING GDG
//********************************************************
//GDG EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE GENERATIONDATAGROUP -
(NAME(FAKE.USA.ITT.SOURCE.DATA.GDG) -
LIMIT(10) SCRATCH)
//*
******************************** Bottom of Data **********
Following entries are existing in USATESTA.IMF310.ITD.SOURCE(JOBRUN).
//SORTOUT DD DISP=OLD,DSN= USATESTA.IMF310.ITD.SOURCE.DATA.GDG
//INPUT DD DISP=OLD,DSN= USATESTA.IMF310.ITD.SOURCE.GDG
What else I need to do?
Thank You