How to copy UAMS to another LPAR
search cancel

How to copy UAMS to another LPAR

book

Article ID: 103277

calendar_today

Updated On:

Products

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

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.