Copy members from one Panvalet library to another library.
search cancel

Copy members from one Panvalet library to another library.

book

Article ID: 52696

calendar_today

Updated On:

Products

Panvalet

Issue/Introduction

How to copy members from one Panvalet library to another Panvalet library?

Resolution

The PAN#2 ++TRANSFER command will copy members from one PANLIB to another PANLIB.

The original member is not delete and remains in the original PANLIB.

The JCL below shows how to copy just one member, range of members, or all members.

//STEP1    EXEC PGM=PAN#2
//SYSPRINT DD  SYSOUT=*
//SYSUDUMP DD  SYSOUT=*
//PANDD1   DD  DISP=SHR,DSN=YOUR.PANVALET.PANLIB.FROM
//PANDD2   DD  DISP=SHR,DSN=YOUR.PANVALET.PANLIB.TO
//SYSIN    DD  *
++OPTION OUTPUT
++TRANSFER TEST  <= COPIES ONLY ONE MEMBER
//
++TRANSFER TEST,TEST5   <= COPIES THE RANGE OF MEMBERS FROM TEST TO TEST5
++TRANSFER 1STMEMBER NAME,Z9999999 <= COPIES ALL MEMBERS

Additional Information

7/12/2023 - Removed incorrect product associations and corrected KD format