Is there a search command to determine which users and groups have been defined to Roscoe?

Document ID : KB000024267
Last Modified Date : 14/02/2018
Show Technical Document Details

Question: 

Is there a way to get a list of the users and their keys and privileges and groups that have been defined with UPSMNT60?

Answer: 

There is no search capability to find a user defined to Roscoe.

To generate a report of all the users, run the UPSLIST utility (as shown below) - the JCL is in the SAMPJCL.

It will give you a list of everyone with all their settings.

     //UPSLIST  JOB (ACCOUNTING),'CA-ROSCOE'
     //*-------------------------------------------------------------------*
     //*    Sample JCL to run the UPSLIST program to produce a list of     *
     //*    users defined in the CA-ROSCOE library sorted by their prefix. *
     //*                                                                   *
     //*-------------------------------------------------------------------*
     //UPSLIST  EXEC PGM=UPSLIST,PARM='PREFIX'
     //STEPLIB  DD  DSN=CAI.RO60LIB,DISP=SHR
     //ROSLIB00 DD  DSN=CAI.ROSCOE.ROSLIB00,DISP=SHR
     //ROSLIB01 DD  DSN=CAI.ROSCOE.ROSLIB01,DISP=SHR
     //ROSLIB02 DD  DSN=CAI.ROSCOE.ROSLIB02,DISP=SHR
     //SORTLIB  DD  DSN=SYS1.SORTLIB,DISP=SHR
     //SORTWK01 DD  UNIT=DISK,SPACE=(TRK,5)
     //SORTWK02 DD  UNIT=DISK,SPACE=(TRK,5)
     //SORTWK03 DD  UNIT=DISK,SPACE=(TRK,5)
     //SYSOUT   DD  SYSOUT=*
     //SYSPRINT DD  SYSOUT=*
     //SYSUDUMP DD  SYSOUT=*   

Customize the JCL by specifying your own ROSLIBS in the sample JCL.

Here is an excerpt from a sample UPSLIST report:

04/16/09  BY PREFIX           CA-Roscoe  UPS Account List
    SIGNON KEY   FORMAL KEY   PASSWORD    C  R  SIGNON PGM  C  PREFIX  MAXREC    CURREC    GROUP   R  PRIVILEGES
---------------  -----------  ---------   -  -  ----------  -  ------  --------  --------  ------- -  ----------
 ABCDEFG         J.JONES      **********  Y  Y   RO.SIGNON  N  $AB     00020000  00004199  OPE     N  OPAEUL
 HIJLKMN         A.SMITH      **********  Y  Y   RO.SIGNON  N  $AI     00006000  00000025  OPE     N

Explanation of Fields in the UPSLIST Report

SIGNON KEY Signon Key
FORMAL KEY  Formal Key
C            Password change code.
R            Password required code.

Signon PGM    

 

Sign-on proc

C        

 Sign-on procedure change code.

PREFIX        

 

User prefix

MAXREC      

 

Maximum number of lines the user can save in the library. If blank, no limit was set.

CURRECT     

 

Number of lines the user currently has saved in the library. This field is blank if no limit was set. 

GROUP         

 

Roscoe Security group name (UPS.GROUPS).

R          

 

Restricted user code.

PRIVILEGES    

 

Privileged commands this user can issue (after SET PRIV ON):

  
  • O User has Operator privileges.
  
  • G User has Privileged administrator privileges.
  
  • P User has RPS administrator privileges.
  
  • A User has Accounting administrator privileges.
  
  • E User has ETSO administrator privileges.
  
  • L User has Library administrator privileges.
  
  • U User has UPS administrator privileges.

For more information, refer to the Roscoe Programs and Utilities Guide, Section 5.3 User Profile Information (UPSLIST Program).