How to copy UAMS to another LPAR

book

Article ID: 103277

calendar_today

Updated On:

Products

CA CMDB for z/OS CA NetSpy Network Performance CA NetMaster Network Automation CA SOLVE CA NetMaster Network Management for SNA CA NetMaster Network Management for TCP/IP CA NetMaster File Transfer Management CA SOLVE:Operations Automation SOLVE:Access Session Management CA SOLVE:CA Mainframe Connector CA SOLVE:FTS CA SOLVE

Issue/Introduction



Is there a way to offload the UAMS File  so that it can be copied for use on another system?

Environment

Release: SLOPFC00200-12.1-NetMaster-File Transfer Management
Component:

Resolution

You can use a standard IDCAMS REPRO for copying UAMS. 

Sample JCL for backup (you would adjust the DSN's, SPACE and other allocation parameters to match your environment): 
//UAMSBKUP EXEC  PGM=IDCAMS 
//UAMSIN   DD DISP=SHR,DSN=hlq.UAMS 
//UAMSOUT  DD DSN=hlq.UAMS.FLATFILE, 
//            DISP=(NEW,CATLG), 
//            SPACE=(TRK,(9000,9000),RLSE), 
//            DCB=(RECFM=VB,LRECL=4096,BLKSIZE=23445), 
//*           VOL=SER=VOLSERX,UNIT=SYSDA 
//            STORCLAS=NMDPOOL 
//SYSPRINT  DD SYSOUT=* 
//SYSIN     DD * 
  REPRO OUTFILE(UAMSOUT) INFILE(UAMSIN) 
// 


Then create an empty UAMS file using the appropriate allocate job from your region build JCL and REPRO the contents back in. 

We have no restrictions for using the standard IDCAMS capability for UAMS. 

Other options: 
- File Master or FileAid, can also be used to copy the VSAM file. 
- DFDSS DUMP and RESTORE to a newname will also work successfully. 


PLEASE NOTE: We recommend ensuring that the UAMS file is not in use when it is being copied to avoid potential corruption of the file.