When applications are not defined in the Application Characteristics Table (ACT), dynamic ACT field values are used. This can limit some TPX functionality, such as the ability to inquire on the application status in order to display that on the TPX Menu.
One approach to populate the ACT:
Some customers do not have any applications defined in the ACT, but have all sessions defined within one or more profiles. Once they recognize the limitations of this approach, there is a need to create the required ACT entries.
TPX® Session Management for z/OS
This purpose of this document is to provide a sample method for extracting sessions from a profile and using that information to populate the ACT.
//BATCHADM EXEC tpxproc,VNODE='*BATCH*'
//EXTFILE DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//RPTFILE DD SYSOUT=*
//*
//SYSIN DD *
C
C EXTRACT profile sessid and applid
C CREATE SYSIN for subsequent job to ADD to ACT
C
EXTRACT GIVING(EXTFILE) PROFILE AND ALL SESSIONS
(PIDXNAME(PROFABC))
REPORT GIVING(RPTFILE) USING(EXTFILE)
((' ADD ACTAPPL(ACTNEW1 &PENTAPPL ) ' )
(' UPDATE ACTAPPL(ACTNEW1 &PENTAPPL (ACTSESS (&PENTUSER ) ))' ))
******************************** BOTTOM OF DATA *******************************
TPBL1000 11/13/15.317 17:04:08.45 EXTRACT GIVING(EXTFILE) PROFILE AND ALL SESSIONS
TPBL1000 11/13/15.317 17:04:08.45 (PIDXNAME(PROFABC))
TPBL1009 11/13/15.317 17:04:08.55 18 Records written GIVING (EXTFILE )
TPBL1000 11/13/15.317 17:04:08.55 REPORT GIVING(RPTFILE) USING(EXTFILE)
TPBL1000 11/13/15.317 17:04:08.55 ((' ADD ACTAPPL(ACTNEW1 &PENTAPPL ) ' )
TPBL1000 11/13/15.317 17:04:08.55 (' UPDATE ACTAPPL(ACTNEW1 &PENTAPPL (ACTSESS (&PENTUSER ) ))'))
TPBL1009 11/13/15.317 17:04:08.56 18 Records read USING (EXTFILE )
TPBL1009 11/13/15.317 17:04:08.56 37 Records written GIVING (RPTFILE )
TPBL1009 11/13/15.317 17:04:08.56 9 records read from SYSIN
TPB030 11/13/15.317 17:04:08.58 TERMINATION REQUEST ACCEPTED
TPBL0102 11/13/15.317 17:04:08.58 BUILD PANEL: ........
TPBL0705 11/13/15.317 17:04:08.87 CLOSE successful for VSAM DD ADMIN1
TPBL0705 11/13/15.317 17:04:08.91 CLOSE successful for VSAM DD ADMIN2
TPBL0705 11/13/15.317 17:04:08.95 CLOSE successful for VSAM DD MAIL
TPBL0705 11/13/15.317 17:04:08.99 CLOSE successful for VSAM DD NOTES
TPBL0705 11/13/15.317 17:04:09.04 CLOSE successful for VSAM DD VIEW
11/13/15 17:04:07 Page 1
ADD ACTAPPL(ACTNEW1 )
UPDATE ACTAPPL(ACTNEW1 (ACTSESS ( ) ))
ADD ACTAPPL(ACTNEW1 AAAAAAA )
UPDATE ACTAPPL(ACTNEW1 AAAAAAA (ACTSESS (AAAAAAA ) ))
ADD ACTAPPL(ACTNEW1 A01ITSO )
UPDATE ACTAPPL(ACTNEW1 A01ITSO (ACTSESS (CA01 ) ))
ADD ACTAPPL(ACTNEW1 CA01A )
UPDATE ACTAPPL(ACTNEW1 CA01A (ACTSESS (CA01A ) ))
ADD ACTAPPL(ACTNEW1 CA01B )
UPDATE ACTAPPL(ACTNEW1 CA01B (ACTSESS (CA01B ) ))
ADD ACTAPPL(ACTNEW1 CA01B )
UPDATE ACTAPPL(ACTNEW1 CA01B (ACTSESS (CA01BB ) ))
ADD ACTAPPL(ACTNEW1 A01ITSO )
UPDATE ACTAPPL(ACTNEW1 A01ITSO (ACTSESS (CA01E ) ))
ADD ACTAPPL(ACTNEW1 A01ITSO )
UPDATE ACTAPPL(ACTNEW1 A01ITSO (ACTSESS (CA01G ) ))
ADD ACTAPPL(ACTNEW1 OBSOLETE )
UPDATE ACTAPPL(ACTNEW1 OBSOLETE (ACTSESS (OBSOLETE ) ))
ADD ACTAPPL(ACTNEW1 TPXADMIN )
UPDATE ACTAPPL(ACTNEW1 TPXADMIN (ACTSESS (TPXADMIN ) ))
ADD ACTAPPL(ACTNEW1 TPXDEMO )
UPDATE ACTAPPL(ACTNEW1 TPXDEMO (ACTSESS (TPXDEMO ) ))
ADD ACTAPPL(ACTNEW1 TPXDEMO )
UPDATE ACTAPPL(ACTNEW1 TPXDEMO (ACTSESS (TPXDEMOE ) ))
ADD ACTAPPL(ACTNEW1 TPXDEMO )
UPDATE ACTAPPL(ACTNEW1 TPXDEMO (ACTSESS (TPXDEMOG ) ))
ADD ACTAPPL(ACTNEW1 TPXMAIL )
UPDATE ACTAPPL(ACTNEW1 TPXMAIL (ACTSESS (TPXMAIL ) ))
ADD ACTAPPL(ACTNEW1 TPXNOTES )
UPDATE ACTAPPL(ACTNEW1 TPXNOTES (ACTSESS (TPXNOTES ) ))
ADD ACTAPPL(ACTNEW1 TPXOPER )
UPDATE ACTAPPL(ACTNEW1 TPXOPER (ACTSESS (TPXOPER ) ))
ADD ACTAPPL(ACTNEW1 TPXVIEW )
UPDATE ACTAPPL(ACTNEW1 TPXVIEW (ACTSESS (TPXVIEW ) ))
You can now copy all of the generated statements into another TPX batch job SYSIN. Alternatively, you can write RPTFILE in the first job to a data set rather than SYSOUT. Then you can edit the data set and pass it as SYSIN to the second batch TPX job.
//BATCHADM EXEC tpxproc,VNODE='*BATCH*'
//EXTFILE DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//RPTFILE DD SYSOUT=*
//*
//SYSIN DD *
C
C Run SYSIN created by first job ...copied from report output
C
ADD ACTAPPL(ACTNEW1 AAAAAAA )
UPDATE ACTAPPL(ACTNEW1 AAAAAAA (ACTSESS (AAAAAAA ) ))
ADD ACTAPPL(ACTNEW1 A01ITSO )
UPDATE ACTAPPL(ACTNEW1 A01ITSO (ACTSESS (CA01 ) ))
ADD ACTAPPL(ACTNEW1 CA01A )
UPDATE ACTAPPL(ACTNEW1 CA01A (ACTSESS (CA01A ) ))
ADD ACTAPPL(ACTNEW1 CA01B )
UPDATE ACTAPPL(ACTNEW1 CA01B (ACTSESS (CA01B ) ))
ADD ACTAPPL(ACTNEW1 CA01B )
UPDATE ACTAPPL(ACTNEW1 CA01B (ACTSESS (CA01BB ) ))
ADD ACTAPPL(ACTNEW1 A01ITSO )
UPDATE ACTAPPL(ACTNEW1 A01ITSO (ACTSESS (CA01E ) ))
ADD ACTAPPL(ACTNEW1 A01ITSO )
UPDATE ACTAPPL(ACTNEW1 A01ITSO (ACTSESS (CA01G ) ))
ADD ACTAPPL(ACTNEW1 OBSOLETE )
UPDATE ACTAPPL(ACTNEW1 OBSOLETE (ACTSESS (OBSOLETE ) ))
******************************** Bottom of Data *******************
TPBL1000 11/13/15.317 17:06:44.12 C
TPBL1000 11/13/15.317 17:06:44.12 C Run SYSIN created by first job ...copied from report output
TPBL1000 11/13/15.317 17:06:44.12 C
TPBL1000 11/13/15.317 17:06:44.12 ADD ACTAPPL(ACTNEW1 AAAAAAA )
TPBL1033 11/13/15.317 17:06:44.13 AACTNEW1 AAAAAAA ADDed
TPBL1000 11/13/15.317 17:06:44.14 UPDATE ACTAPPL(ACTNEW1 AAAAAAA (ACTSESS (AAAAAAA ) ))
TPBL1033 11/13/15.317 17:06:44.16 AACTNEW1 UPDATed
TPBL1000 11/13/15.317 17:06:44.16 ADD ACTAPPL(ACTNEW1 A01ITSO )
TPBL1033 11/13/15.317 17:06:44.17 AACTNEW1 A01ITSO ADDed
TPBL1000 11/13/15.317 17:06:44.19 UPDATE ACTAPPL(ACTNEW1 A01ITSO (ACTSESS (CA01 ) ))
TPBL1033 11/13/15.317 17:06:44.24 AACTNEW1 UPDATed
TPBL1000 11/13/15.317 17:06:44.24 ADD ACTAPPL(ACTNEW1 CA01A )
TPBL1033 11/13/15.317 17:06:44.25 AACTNEW1 CA01A ADDed
TPBL1000 11/13/15.317 17:06:44.26 UPDATE ACTAPPL(ACTNEW1 CA01A (ACTSESS (CA01A ) ))
TPBL1033 11/13/15.317 17:06:44.28 AACTNEW1 UPDATed
TPBL1000 11/13/15.317 17:06:44.28 ADD ACTAPPL(ACTNEW1 CA01B )
TPBL1033 11/13/15.317 17:06:44.29 AACTNEW1 CA01B ADDed
TPBL1000 11/13/15.317 17:06:44.30 UPDATE ACTAPPL(ACTNEW1 CA01B (ACTSESS (CA01B ) ))
TPBL1033 11/13/15.317 17:06:44.32 AACTNEW1 UPDATed
TPBL1000 11/13/15.317 17:06:44.32 ADD ACTAPPL(ACTNEW1 CA01B )
TPBL1032 11/13/15.317 17:06:44.32 ADD failed for AACTNEW1 CA01B , already exists
TPBL1000 11/13/15.317 17:06:44.32 UPDATE ACTAPPL(ACTNEW1 CA01B (ACTSESS (CA01BB ) ))
TPBL1033 11/13/15.317 17:06:44.34 AACTNEW1 UPDATed
TPBL1000 11/13/15.317 17:06:44.34 ADD ACTAPPL(ACTNEW1 A01ITSO )
TPBL1032 11/13/15.317 17:06:44.35 ADD failed for AACTNEW1 A01ITSO , already exists
TPBL1000 11/13/15.317 17:06:44.35 UPDATE ACTAPPL(ACTNEW1 A01ITSO (ACTSESS (CA01E ) ))
TPBL1033 11/13/15.317 17:06:44.37 AACTNEW1 UPDATed
TPBL1000 11/13/15.317 17:06:44.37 ADD ACTAPPL(ACTNEW1 A01ITSO )
TPBL1032 11/13/15.317 17:06:44.37 ADD failed for AACTNEW1 A01ITSO , already exists
TPBL1000 11/13/15.317 17:06:44.37 UPDATE ACTAPPL(ACTNEW1 A01ITSO (ACTSESS (CA01G ) ))
TPBL1033 11/13/15.317 17:06:44.38 AACTNEW1 UPDATed
TPBL1000 11/13/15.317 17:06:44.38 ADD ACTAPPL(ACTNEW1 OBSOLETE )
TPBL1033 11/13/15.317 17:06:44.39 AACTNEW1 OBSOLETE ADDed
TPBL1000 11/13/15.317 17:06:44.40 UPDATE ACTAPPL(ACTNEW1 OBSOLETE (ACTSESS (OBSOLETE ) ))
TPBL1033 11/13/15.317 17:06:44.43 AACTNEW1 UPDATed
TPBL1009 11/13/15.317 17:06:44.43 19 records read from SYSIN
TPB030 11/13/15.317 17:06:44.46 TERMINATION REQUEST ACCEPTED
TPX Application Characteristics Table Entry List
Panelid - TEN0092
Command ===> Userid -
Termid -
Application Characteristics Table: ACTNEW1 Date -
Time -
Default Default
Applid Sessid Application description Session key
AAAAAAA AAAAAAA PF __
A01ITSO CA01G PF __
CA01A CA01A PF __
CA01B CA01BB PF __
OBSOLETE OBSOLETE PF __
TPXADMIN TPX Administration PF __
TPXDEMO TPX Dummy Session PF __
TPXMAIL TPX Mailbox PF __
TPXNOTES TPX Notepad PF __
TPXOPER TPX Operator PF __
TPXVIEW TPX View PF __
TPXVWUTL TPX View Utility PF __
TPXWINDW TPX Windows PF __
******************************* BOTTOM OF DATA *******************************