How to create CA Librarian archive levels for PRMOD members in a WRMF
search cancel

How to create CA Librarian archive levels for PRMOD members in a WRMF

book

Article ID: 189316

calendar_today

Updated On:

Products

Librarian

Issue/Introduction

 How do you create archive versions of PRMOD members in a Wide Record Master File?

Environment

Release : 4.4

Component : CA Librarian

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