Copy members from one library to another library.

book

Article ID: 52696

calendar_today

Updated On:

Products

CA Database Analyzer (IMS Tools) CA Mainframe Configuration Manager for IMS for z/OS IMS TOOLS - MISC CA Compress Data Compression (IMS Tools) CA Database Analyzer for IMS for z/OS CA Database Copier for IMS for z/OS CA Database Organizer for IMS for z/OS CA Mainframe Extended Terminal Manager (IMS Tools) CA High Performance Recovery for IMS for z/OS CA Database Organizer (IMS Tools) CA Mainframe Program Restart Manager for IMS for z/OS CA Secondary Index Builder for IMS for z/OS CA Secondary Index for IMS for z/OS CA JARS CA JARS Resource Accounting CA JARS SMF Director CA JMR CA MIM Resource Sharing (MIM) CA MIM Data Sharing (MII) CA MIM Tape Sharing (MIA) CA MIM Message Sharing (MIC) Nastel AutoPilot for WebSphere MQ CA PanApt CA PanAudit CA Panvalet CA QuickFetch CA Raps VSE CA Scheduler VSE CA SMR CA SOLVE:Operations Automation SOLVE:Access Session Management CA SOLVE:FTS CA SYSVIEW Performance Management NXBRIDGE - SYSYVIEW/ENDEVOR CA 2E CA SOLVE

Issue/Introduction

Description:

How do I copy members from one Panvalet library to another Panvlalet library?

Solution:

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

Environment

Release:
Component: C21E