book
Article ID: 189316
calendar_today
Updated On:
Resolution
1) Add the first listing member to the WRFM using the following job -
//PRMODA EXEC PGM=AFOLIBR,PARM='NRJS,NJTA'
//SYSPRINT DD SYSOUT=*
//INDEX DD SYSOUT=*
//AUXFILE DD DISP=SHR,DSN=listing.library
//MASTER DD DISP=SHR,DSN=your.LIBR.WRMFMSTR.PDSE
//OSJOB DD DUMMY
//SYSIN DD *
-ADD TSTREP03,ARC
-LANG PRT
-AUX AUXFILE(TSTREP03)
-EMOD
-END
/*
* Note: AUXFILE can be sequential file, PDS or PDSE
2) After the initial version is added, use the following job to create the additional archive versions:
//PRMODU EXEC PGM=AFOLIBR,PARM='NRJS,NJTA'
//SYSPRINT DD SYSOUT=*
//INDEX DD SYSOUT=*
//AUXFILE DD DISP=SHR,DSN=listing.library
//MASTER DD DISP=SHR,DSN=your.LIBR.WRMFMSTR.PDSE
//OSJOB DD DUMMY
//SYSIN DD *
-SEL TSTREP03,NOEXEC
-REP ALL,NOAUDIT
-AUX AUXFILE(TSTREP03)
-EMOD
-END
/*
* Note: AUXFILE can be sequential file, PDS or PDSE