How to copy and merge CA Roscoe userids from one Roscoe to another?

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

Introduction: 

How to copy Roscoe userids from one system (SYSTEM-A) to another (SYSTEM-B) and merge them. With separate Roslibs on each system, how to add all the userids from one Roscoe to another without overlaying them.

Instructions:

Summary of steps:

  1. Backup SYSTEM-A's ROSLIBS by submitting a LIBUTIL,PARM='BACKUP' job.
  2. Restore the UPS account from SYSTEM-A to SYSTEM-B by submitting a LIBUTIL,PARM='SELPFX,NOREPLACE' job, specifying IN=UPS,OUT=UPSin the SYSIN DD.
  3. From RO or IA account type SET PRIV ON followed by ROZAP REFRESH UPS on the command line. NOTE: This may also be done by any other account that has the authority. Alternatively, F <ROSCOE jobname>,REFRESH UPS can be issued from console.

Sample JCL:

Customize the library name and the name and numbers of the ROSLIBS and the VOLSER.

 

//*---------------------------------------------------------------*
//*        BACKUP CA-ROSCOE LIBRARY                               *
//*---------------------------------------------------------------*
//BACKUP   EXEC PGM=LIBUTIL,PARM=BACKUP
//STEPLIB  DD  DSN=ROSCOE.ROS.R60.G0612.RO60LIB,DISP=SHR
//ROSLIB00 DD  DSN=ROSCOE.ROSA.ROSLIB00,DISP=SHR
//ROSLIB01 DD  DSN=ROSCOE.ROSA.ROSLIB01,DISP=SHR
//ROSLIB02 DD  DSN=ROSCOE.ROSA.ROSLIB02,DISP=SHR
//ROSLIB03 DD  DSN=ROSCOE.ROSA.ROSLIB03,DISP=SHR
//BACKUP   DD  DSN=ROSCOE.ROS.R60.ROSLIB.BK,DISP=(,CATLG,DELETE),
//             UNIT=SYSDA,VOL=SER=ROS01,SPACE=(CYL,(5,5))
//SYSPRINT DD  SYSOUT=*
//SYSIN    DD  *
/*
//
 
//*------------------------------------------------------*
//*        RESTORE CA-ROSCOE LIBRARY FROM BACKUP         *
//*------------------------------------------------------*
//RESTORE  EXEC PGM=LIBUTIL,PARM='SELPFX,NOREPLACE'
//STEPLIB  DD  DSN=ROSCOE.ROS.R60.G0612.RO60LIB,DISP=SHR
//ROSLIB00 DD  DSN=ROSCOE.ROSB.ROSLIB00,DISP=SHR
//ROSLIB01 DD  DSN=ROSCOE.ROSB.ROSLIB01,DISP=SHR
//ROSLIB02 DD  DSN=ROSCOE.ROSB.ROSLIB02,DISP=SHR
//ROSLIB03 DD  DSN=ROSCOE.ROSB.ROSLIB03,DISP=SHR
//BACKUP   DD  DSN=ROSCOE.ROS.R60.ROSLIB.BK,DISP=SHR
//SYSPRINT DD  SYSOUT=*
//SYSIN    DD  *
IN=UPS,OUT=UPS
/*
//