How to copy all the members from a PDS to a Panvalet panlib specifying a language of DATA
search cancel

How to copy all the members from a PDS to a Panvalet panlib specifying a language of DATA

book

Article ID: 54769

calendar_today

Updated On:

Products

Panvalet

Issue/Introduction

Have a PDS that has over 400 members and need to copy them into a Panvalet panlib.  Requirement to add these with a language of DATA.

Resolution

The members cannot be already on the panlib. Using Panvalet Extended Feature ++USING PAN0 this reads the PDS directory and adds all the members.

//STEP1 EXEC PGM=PAN#1 
 //PANDD1    DD DSN=your.panvalet.panlib,DISP=SHR 
 //INBPAM     DD DSN=your.pds.file,DISP=SHR 
 //INBSAM     DD DSN=your.pds.file,DISP=SHR
 //SYSPRINT  DD SYSOUT=* 
 //SYSIN       DD * 
 ++USING PAN0
 ++ADD *,DATA,LIST