Is there a way to copy a profile from one CA TPX to another CA TPX that is located in a different PLEX?
search cancel

Is there a way to copy a profile from one CA TPX to another CA TPX that is located in a different PLEX?

book

Article ID: 6179

calendar_today

Updated On:

Products

TPX - Session Management Vman Session Management for z/OS

Issue/Introduction

Is there a way to copy a profile from one CA TPX to another CA TPX that is located in a different PLEX? 

Environment

CA TPX V5.4

Resolution

Instructions on how to copy a CA TPX profile to another CA TPX in a different SYSPLEX.  Example on how to extract the profile from TPXA then FTP and merge the extract file over into TPXB: 

 

1) Backup your ADMIN2 file on the target TPXB as a precaution. 

 

2) Extract the profile and all sessions from TPXA to a catalogued data set: 

EXTRACT GIVING(EXTFIL1) PROFILE AND ALL SESSIONS (PIDXNAME(profname)) 

For example: 

//BATCHADM EXEC TPXPROC,VNODE='*BATCH*'  

//* 

//EXTFIL1 DD UNIT=SYSDA,SPACE=(CYL,(1,1)),DISP=(MOD,CATLG), 

//           DSN=TPXA.EXTRACT.FILE 

//RPTFIL1 DD SYSOUT=* 

//SYSIN DD * 

C List all profiles and their sessions 

EXTRACT GIVING(EXTFIL1) PROFILE AND ALL SESSIONS 

(PIDXNAME(TEMP)) 

SET RTITLE1 

' EXTRACT all sessions for profile TEMP from TPXA ' 

SET RTITLE2 

' Profile  SessionID ApplID   Start ACL Group    Owner   Member  Inv' 

SET RTITLE3 

' ======== ========= ======== ========= ======== ======= ======= ===' 

REPORT GIVING(RPTFIL1) USING(EXTFIL1) 

((' &PIDXNAME' '&PENTUSER' ' &PENTAPPL' ' &PENTSCRP' ' &PIDXGRP' 

' &PENTHLNM' '&PENTHLID' '&PENTOPTI')) 

/* 

 

3) FTP extract file (TPXA.EXTRACT.FILE ) over to the TPXB system.

 

4) Stop TPXB 

 

5) REPRO the extracted records into the ADMIN2 of TPXB: 

 

//BACKUP EXEC PGM=IDCAMS 

//SYSPRINT DD SYSOUT=* 

//ADMIN2 DD DISP=OLD,DSN=YOUR.TBXB.ADMIN2 

//EXTRACT DD DISP=OLD,DSN=TPXA.EXTRACT.FILE 

//SYSIN DD * 

REPRO INFILE(EXTRACT) OUTFILE(ADMIN2) 

// 

 

6) Run RESET INTEGRITY (sample BATCHINI). 

 

7) Start TPXB 

 

Now if you go into TPXADMIN - Profile Maintenance on TPXB, you should see the copied profile with all of its sessions.