TPX batch - example - List all users with a specific profile name
search cancel

TPX batch - example - List all users with a specific profile name

book

Article ID: 52669

calendar_today

Updated On:

Products

Teleview TELEVIEW- PACKAGE TPX - Session Management Vman Session Management for z/OS

Issue/Introduction

Description:

This document shows you how to extract and list the users that have been assigned a specific profile.

Solution:

This example extracts all users with the profile name DUMMY and produces a report showing these userids.

Wildcards can also be used. For example, (ABC----) can be used to get all users with a profile name beginning with ABC.

//BATCH EXEC TPX1,VNODE='*BATCH*'  <== YOUR TPX HERE
//EXTFILE DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//RPTFILE DD SYSOUT=*
//SYSIN DD *
EXTRACT GIVING (EXTFILE) USER AND NO SESSIONS (VUSRPROF(DUMMY)) 
SET RTITLE1                        
' USERIDS with profile DUMMY'   
SET RTITLE2                        
' =========================='   
REPORT GIVING (RPTFILE) USING (EXTFILE)
  ((' &UIDXNAME'))
//

Environment

Release:
Component: TLVIEW