Assign a profile to users
search cancel

Assign a profile to users

book

Article ID: 74855

calendar_today

Updated On:

Products

TPX - Session Management Vman Session Management for z/OS

Issue/Introduction



How can I assign a profile to a number of users?

Environment

Release: NVINAM00200-5.4-TPX-Session Management-Access Management package
Component:

Resolution

If you want to assign a profile to a number of users you can use the following TPXBATCH Job:

...
//EXT      DD   DSN=AAA.BBB.CCC,DISP=SHR
//RPT      DD   SYSOUT=* 
//SYSIN DD *
EXTRACT GIVING(EXT) USER AND NO SESSIONS (UIDXNAME(T-------)) 
ADD USERPROFILE USING(EXT) (name_of_profile) 
//


The EXTRACT-statement creates a file containing all users which should get the new profile added. In the above example these are all users whichs Userid begins with the letter 'T'.
The ADD USERPROFILE refers to the Extract-file and adds the named Profile to all users collected in the Extract-file.