CA TPX Session Management for z/OS

Tuesday's Tip: How to print a TPX ACT Table using TPXBATCH 

02-09-2015 06:10 PM


Listed below is a TPX batch example on how to print the TPX ACT Table(s).  You would need to find the variable names depending on what values you would like to extract from the ACT.

This sample will extract the ACTNAME, ACTLABEL, ACTSESS and the VACTTBL.  

//BATCHADM  EXEC TPX-PROCNAME,VNODE='*BATCH*'

//EXTFILE  DD    UNIT=SYSDA,SPACE=(CYL,(1,1))

//*

//SYSIN DD *

C

C  extract from ACT

C

EXTRACT GIVING(EXTFILE) ACT (VACTTBL(--------))

SET RTITLE1 ' ACTNAME   ACTLABEL                      ACTSESS    VACTTBL'

SET RTITLE2 ' ========  ===================  ========= ========'

REPORT GIVING(RPTFILE) USING (EXTFILE)

((' &ACTNAME' '  &ACTLABEL          ' '  &ACTSESS' '  &VACTTBL'))

//

 

Sample output from the above JCL

 

ACTNAME   ACTLABEL              ACTSESS   VACTTBL 

========  ===================   =======   ========= 

A31ITSO   TSO ON CA31           CA31      ACTZA  

FUBAR     < No Session >                  ACTZA  

CICSA     Production CICS 1.6             SYSAPROD

CICSB     CICS 1.7 Autoinstal             SYSAPROD

IMSP      Production IMS                  SYSAPROD

IMST      Test IMS                        SYSAPROD

 

 

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.