Copy users definition from one TPX to another
search cancel

Copy users definition from one TPX to another

book

Article ID: 12289

calendar_today

Updated On:

Products

TPX - Session Management Vman Session Management for z/OS

Issue/Introduction



How can I copy my user definitions from one TPX into another?

Environment

Release: NVINAM00200-5.3-TPX-Session Management-Access Management package
Component:

Resolution

Here are the necessary steps to copy user definitions from one TPX to another:

1. Extract the records from your backup with: 

EXTRACT GIVING(TPXDATA) USER ALL SESSIONS (UIDXNAME(xxxxxxxx)) 

xxxxxxxx is the filter for the userids. If you want to copy all users then use eight dashes --------. If you want to copy only all users starting with L then use L------- for xxxxxxxx.

2. Delete the user in your TPX online or via TPXBATCH 

3. Stop the TPX region in which you just deleted the user 

4. REPRO the data from the extract file into your running ADMIN2 files 
Use a JCL like this: 
//STEP1    EXEC PGM=IDCAMS 
//SYSPRINT DD   SYSOUT=* 
//INDS     DD   DSN=AAA.BBB.EXTRACT,DISP=SHR 
//OUTDS    DD   DSN=TPX.ADMIN2,DISP=SHR 
//SYSIN    DD   * 
 REPRO INFILE(INDS) OUTFILE(OUTDS) REPLACE 
/*

Remember that these operations are done at your own risk! Make sure you have a backup in case you get problems after having copied the data!