TPX Batch Administration can be used to add applications or update existing applications in the Application Characteristics Table (ACT).
This example will add application 'CCCCCCCC' to ACT 'ACTNEW'.
Then use UPDATE to set the specific application values.
Example JCL:
//BATCHADM EXEC <YOUR TPX PROC>,VNODE='*BATCH*'
//EXTFILE DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//RPTFILE DD SYSOUT=*
//*
//* ADD ACTAPPL (ACTZA CCCCCCCC)
//* UPDATE ACTAPPL (CCCCCCCC(var(value)) )
//* UPDATE ACTAPPL (ACTNEW CCCCCCC(ACTSESS(SESSIDC)) )
//*
//SYSIN DD *
C
C ADD to ACT >>> CHANGE THIS EXAMPLE TO ADD & MODIFY ACT
C
ADD ACTAPPL (ACTNEW A01ITSO)
UPDATE ACTAPPL (ACTNEW A01ITSO
(ACTSESS(TSO1)
ACTSAVE(Y)
ACTMSK1(MGV30)
ACTTYPE(SHR)
ACTCPS(Y)
ACTLABEL('TSO PRODUCTION SYSTEM')) )
//
Alternatively, you can copy an existing ACT Session to create one or more new sessions in the same or another ACT.
Below session CICSB is being copied from ACT ACTGV01 to ACT ACTGV02 as CICSA, B and C.
//SYSIN DD *
C
C COPY to ACT ACTGV01 Session CICSB to new sessions
C
COPY ACTAPPL ACTGV01 CICSB TO (ACTGV02 CICSA
ACTGV02 CICSB
ACTGV02 CICSC)
Refer to the Batch Administration area of the TPX Session Guide for details on what is possible to do via Batch:
TPX 5.4 Batch Administration - Updating Application Definitions
To see the variables for the ACT: