This document shows you how to extract and list all Profiles defined in TPX and for each Profile containing sessions.
This example extracts all profiles which are defined in TPX and lists the sessions defined in each profile.
//BATCH EXEC TPX1,VNODE='*BATCH*' <== YOUR TPX HERE
//EXTFILE DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//RPTFILE DD SYSOUT=*
//SYSIN DD *
EXTRACT GIVING(EXTFILE) PROFILE AND ALL SESSIONS(PIDXNAME(--------))
SET RTITLE1 ' PROFILE SESS-ID APPL-ID'
SET RTITLE2 ' ========================== '
REPORT GIVING(RPTFILE) USING(EXTFILE)
((' &PIDXNAME' '&PENTUSER' '&PENTAPPL'))
/*
Remarks: