Copy members from one library to another library.

book

Article ID: 52696

calendar_today

Updated On:

Products

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