How do I copy one PDS member to a Panvalet Library when the member already exists?

Document ID : KB000054968
Last Modified Date : 14/02/2018
Show Technical Document Details


The member already exists on the Panvalet Panlib and needs to be updated from a member stored on a PDS.


Can accomplish this Online & in Batch:

Online Method:

  1. Go into PVISPF Edit type in the Panvalet dataset name and the member name - Enter.

  2. Place a D999 and on the line command - Enter.

  3. Type COPY in the command line - Enter

  4. Fill in the PDS library with the member name and copy with replace from the PDS to the Panlib.

Batch Method:

 //STEP1 EXEC PGM=PAN#1                                                  
 //PANDD1   DD DSN=your.panvlt.PANLIB,DISP=SHR                         
 //PANDD2   DD DUMMY                                                     
 //PANDD3   DD DUMMY                                                     
 //PDSDD     D DSN=your.pds.file,DISP=SHR                             
 //SYSPRINT DD SYSOUT=*                                                  
 //SYSIN    DD *                                                         
 ++OPTION INPUT,PDSDD,member                                       
 ++UPDATE member,1,ALL                                                   
 //STEP1  EXEC  PGM=PAN#1                                                
 //PANDD1   DD  DSN=your.panvalet.panlib,DISP=SHR                          
 //PDSOUT   DD  DSN=your.pds.file,DISP=SHR                            
 //SYSPRINT DD  SYSOUT=*                                                 
 //SYSPUNCH DD  SYSOUT=*                                                 
 //SYSIN    DD  *                                                        
 ++OPTION OUTPUT,PDSOUT                                                  
 ++WRITE WORK,*                                         N