Using batch to extract TPX ACL ID and ACL Passwords

book

Article ID: 125259

calendar_today

Updated On:

Products

CA TPX - Session Management TPX- PACKAGE CA Vman Session Management for z/OS TPX SESSION MANAGEMENT

Issue/Introduction

How can I get a list of all users who have a password coded in their ACL ID and ACL password session overrides for an application?

Environment

Release:
Component: TPX

Resolution

JCL example below on how to extract an ACL userid and ACL password for session overrides on an application through TPX batch.

//BATCHADM EXEC TPXEH,VNODE='*BATCH*'
//*XTFILE  DD UNIT=SYSDA,SPACE=(CYL,(1,1)),DISP=(NEW,CATLG)
//EXTFILE  DD UNIT=SYSDA,SPACE=(CYL,(1,1)),DISP=(NEW,CATLG),
//            DSN=HOBEL01.TPX.EXTFILE                                                       <<<<<<< Change DSN to your EXTFILE >>>>>>
//RPTFILE  DD UNIT=SYSDA,SPACE=(CYL,(1,1)),DISP=(NEW,CATLG),
//            DSN=HOBEL01.TPX.RPTFILE                                                       <<<<<<< Change DSN to your RPTFILE >>>>>>
//SYSIN DD *
//SYSIN DD * .
EXTRACT GIVING(EXTFILE) USER AND MATCHING SESSIONS (UENTAPPL(A01ITSO)) . <<<<<< Change UENTAPPL to your application >>>>>>> 
SET RTITLE1 . ' USERID APPLID ACL ID ACL PASSWORD '
SET RTITLE2 . ' ======== ======== ========= ======== ' .
REPORT GIVING(RPTFILE) USING(EXTFILE) .
(( ' &UIDXNAME' ' &UENTAPPL' ' &UENTUID' ' &UENTPASS'))
  UPDATE USING(EXTFILE) (UENTUID(         ) UENTPASS(         ))
 //