Domain: | USER-ADMINISTRATION |
Privileges: | STD-PROCESSING, USER-ADMINISTRATION |
This command requests information about a user group entry in the user catalog of the specified pubset.
The type and scope of information returned depends on the privileges of the user issuing the command (with respect to the pubsets to which the command refers).
Case 1:
The command is issued by a user who is the global administrator on the home pubset of the current BS2000 session.
Information scope: | |
Group structure: | no restrictions |
Information type: | no restrictions |
Pubset: | no restrictions |
Case 2:
The command is issued by the group administrator of the pubset specified for the PUBSET operand.
Information scope: | |
Group structure: | information may be requested only on those user groups which are subject to that group administrator’s management (group structure) |
Information type: | no restrictions |
Pubset: | no restrictions |
Case 3:
The command is issued by a user who has not been granted any privileges on the pubset specified via the PUBSET operand.
Information scope: | |
Group structure: | information may be requested only on the user’s own group |
Information type: | only the group ID and a list of the group members may be requested (if the user is a member of the *UNIVERSAL group, no list of members may be requested) |
Pubset: | only information on the home pubset of the current BS2000 session may be requested |
For global or group administrators to be recognized as such, their privileges must be registered on the pubset specified for the PUBSET operand.
SHOW-USER-GROUP | |||||||||||||||||||||||||||||||||||
|
GROUP-IDENTIFICATION =
User group on which information is requested.
GROUP-IDENTIFICATION = *OWN
Information is requested on the group of the command-issuing user.
GROUP-IDENTIFICATION = *ALL
Information is requested on all user groups.
GROUP-IDENTIFICATION = *UNIVERSAL
Information is provided concerning the user group *UNIVERSAL.
*UNIVERSAL is a special case. Only the following information is provided for the group itself (GROUP-ATTRIBUTES):
group administrator and associated ADMINISTRATION-AUTHORITY
specifications concerning group access to files and job variables which are protected with BACL (BASIC-ACL-ACCESS).
The remaining summarized information (SUB-GROUP-LIST, MEMBER-LIST) apart from ACCOUNT-NUMBER is provided as for the other groups.
This information is only available to global user administrators and the *UNIVERSAL group administrator.
GROUP-IDENTIFICATION = list-poss(127): <name 1..8>
Group ID of the user group about which information is requested. Group administrators are only authorized to request information on their own group and its subordinate group structure, while global user administrators may request information about any user group entry. Nonprivileged users may request information about their own group only.
PUBSET =
Pubset from whose user catalog the information is to be fetched. Nonprivileged users may only specify the home pubset of the current session.
PUBSET = *HOME
The information is to be fetched from the user catalog of the home pubset of the current session.
PUBSET = *ALL
The information is to be fetched from the user catalogs of all pubsets accessible at the time of command entry. The information supplied to nonprivileged users is restricted to the data stored in the user catalog of the home pubset.
PUBSET = list-poss(127): <cat-id 1..4>
Catalog IDs of the pubsets from whose user catalogs the information is to be fetched. Nonprivileged users may only specify the home pubset of the current session.
OUTPUT =
This specifies the system file to which the information is to be output.
OUTPUT = *SYSOUT
The information is to be output to the system file SYSOUT.
OUTPUT = *SYSLST
The information is to be output to the system file SYSLST.
INFORMATION =
This controls the type and scope of the information output. Nonprivileged users are supplied with a list of group members only (INFORMATION = ALL).
INFORMATION = *ALL
All available information on a user group is to be output.
INFORMATION = *MEMBER-LIST
A list of group members is to be output.
INFORMATION = *SUB-GROUP-LIST
A list of user groups is to be output.
INFORMATION = *GROUP-ATTRIBUTES
The group attributes are to be output.
INFORMATION = *ACCOUNT-NUMBER(...)
Account numbers on which information is to be output.
ACCOUNT-NUMBER = *ALL
Information is to be output on all account numbers included in the group potential.
ACCOUNT-NUMBER = list-poss(127): <alphanum-name 1..8>
Information is to be output on the specified account numbers.
INFORMATION = *SUMMARY
Summary information about group and system potentials is to be output.
Note
The information output by this command depends on the privileges of the user issuing the command. The scope of the information may thus, for example, be different for two pubsets if the user issuing the command is a group administrator on the one pubset but only a nonprivileged user on the other.
Command return codes
(SC2) | SC1 | Maincode | Meaning |
0 | CMD0001 | Command executed without errors | |
2 | 0 | SRM6001 | Command executed with a warning |
32 | SRM6020 | System error during command processing | |
64 | SRM6040 | Semantic error during command processing | |
130 | SRM6030 | Command cannot be processed at the present time |
If the command resulted in only partial output, the return code
(SC2) | SC1 | Maincode | Meaning |
64 | SRM6040 | Semantic error during command execution |
is replaced by the return code
(SC2) | SC1 | Maincode | Meaning |
2 | 0 | SRM6001 | Command executed with a warning |
Example: Output of the attributes of a user group
|
Output in S variables
The command’s INFORMATION operand defines the S variables to which values are assigned. If an S variable does not currently possess a value, it is assigned an empty string (type S) or the number 0 (type I). This is especially important for GROUP-IDENTIFICATION=*UNIVERSAL in the case of S variables to which no meaningful value can be assigned.
The following specifications are possible for INFORMATION:
Notation in command | Meaning in table |
INFORMATION = *ALL | 1 |
INFORMATION = *GROUP-ATTRIBUTES | 2 |
INFORMATION = *ACCOUNT-NUMBER | 3 |
INFORMATION = *MEMBER-LIST | 4 |
INFORMATION = *SUB-GROUP-LIST | 5 |
INFORMATION = *SUMMARY | 6 |
Output information | Name of the S variable | T | Contents | Condition |
Account number of the group ID of | var(*LIST).ACCOUNT(*LIST).ACCOUNT | S | <alphanum-name | 1,2,3 |
CPU limit for the group ID of the | var(*LIST).ACCOUNT(*LIST).CPU-LIM | I | <integer | 1,2,3 |
Deactivation inhibit function | var(*LIST).ACCOUNT(*LIST). | S | *NO | 1,2,3 |
Task attribute for users; the *SYS | var(*LIST).ACCOUNT(*LIST). | S | *STD | 1,2,3 |
Maximum run priority | var(*LIST).ACCOUNT(*LIST). | I | <integer 30..255> | 1,2,3 |
Group administrator is authorized | var(*LIST).ACCOUNT(*LIST).NO-CPU-LIM | S | *NO | 1,2,3 |
Maximum spoolout class (1 is the | var(*LIST).ACCOUNT(*LIST).SPOOL-CLASS | I | <integer 1..255> | 1,2,3 |
Group administrator is authorized | var(*LIST).ACCOUNT(*LIST).START-IMMED | S | *NO | 1,2,3 |
Specifies whether the list variable | var(*LIST).ACCOUNT-DEFI | S | *LIST | 1,2,3 |
Limit for the user address space | var(*LIST).ADDR-SPACE-LIM | I | <integer | 1,2 |
Authorization of the group | var(*LIST).ADM-AUTHOR | S | *MANAGE-GROUP | 1,2,6 |
Maximum number of openCRYPT | var(*LIST).CRYPTO-SESSION-LIM | I | <integer 1..32767> | 1,2 |
Group administrator is authorized | var(*LIST).CSTMP | S | *NO | 1,2 |
Type of use of the DMS tuning | var(*LIST).DMS-TUNING-RESOURCE | S | *CONCURRENT-USE | 1,2 |
Group administrator is authorized | var(*LIST).F-AUDIT | S | *NO | 1,2 |
Maximum number of files that may | var(*LIST).F-NUM-LIM | I | <integer | 1,2 |
Name of the guard in which the | var(*LIST).GUARD | S | <filename 1..18> | 1,2 |
Group administrator (user ID | var(*LIST).GROUP-ADM | S | *NONE | 1,2,6 |
User group ID | var(*LIST).GROUP-ID | S | *UNIV | 1,2,3,4,5,6 |
Name of the group member (user | var(*LIST).GROUP-MEMB(*LIST) | S | <name 1..8> | 1,4 |
Specifies whether the list variable | var(*LIST).GROUP-MEMB-DEFI | S | *LIST | 1,4 |
Prefix for the group member | var(*LIST).GROUP-MEMB-PREFIX | S | *ANY | 1,2 |
Group administrator is authorized | var(*LIST).HARDWARE-AUDIT | S | *ALLOW | 1,2 |
Maximum number of job variables | var(*LIST).JV-NUM-LIM | I | <integer | 1,2 |
Group administrator is authorized | var(*LIST).LINKAGE-AUDIT | S | *ALLOW | 1,2 |
Limit for account records | var(*LIST).MAX-ACCOUNT-REC | S | *NO-LIM | 1,2 |
Number of user IDs which the | var(*LIST).MAX-GROUP-MEMB. | I | <integer 0..32767> | 1,2,6 |
Number of user IDs which the | var(*LIST).MAX-GROUP-MEMB. | I | <integer 0..32767> | 1,2,6 |
Maximum number of user IDs | var(*LIST).MAX-GROUP-MEMB. | I | <integer 0..32767> | 1,2,6 |
Maximum number of user IDs | var(*LIST).MAX-GROUP-MEMB. | I | <integer 0..32767> | 1,2,6 |
Number of subgroups which the | var(*LIST).MAX-SUB-GROUP. | I | <integer 0..32767> | 1,2,6 |
Number of subgroups which the | var(*LIST).MAX-SUB-GROUP. | I | <integer 0..32767> | 1,2,6 |
Maximum number of subgroups | var(*LIST).MAX-SUB-GROUP. | I | <integer 0..32767> | 1,2,6 |
Maximum umber of subgroups | var(*LIST).MAX-SUB-GROUP. | I | <integer 0..32767> | 1,2,6 |
Group administrator is authorized | var(*LIST).MODIF | S | *CONTR | 1,2 |
Group administrator is authorized | var(*LIST).NET-STOR-USAGE | S | *NO | 1,2 |
Specifies whether the user group | var(*LIST).PHYS-ALLOC | S | *NO | 1,2 |
Profile IDs of the group syntax files | var(*LIST).PROF-ID(*LIST) | S | <filename 1..54> | 1,2 |
Specifies whether the list variable | var(*LIST).PROF-ID-DEFI | S | *LIST | 1,2 |
Group administrator is authorized | var(*LIST).PUB-SPACE-EXC | S | *ALLOW | 1,2 |
Maximum storage space for this | var(*LIST).PUB-SPACE-LIM | I | <integer | 1,2 |
Catalog ID of the pubset from | var(*LIST).PUBSET | S | <cat-id 1..4> | 1,2,3,4,5,6 |
Maximum read privilege when | var(*LIST).READ-PRIVIL | I | <integer 1..9> | 1,2 |
Maximum number of resident main | var(*LIST).RESID-PAGE | I | <integer 0..32767> | 1,2 |
Name of the subgroup | var(*LIST).SUB-GROUP(*LIST) | S | <name 1..8> | 1,5 |
Specifies whether errors during | var(*LIST).TAPE-ACCESS | S | *ALL | 1,2 |
Maximum temporary storage | var(*LIST).TEMP-SPACE-LIM | I | <integer | 1,2 |
Name of the higher-ranking user | var(*LIST).UPPER-GROUP | S | *UNIV | 1,2,6 |
Prefix for the subgroup name | var(*LIST).USER-GROUP-PREFIX | S | *ANY | 1,2 |
Upper limit for the value which a | var(*LIST).WORK-SPACE-LIM | I | <integer | 1,2 |
Maximum write privilege when | var(*LIST).WRITE-PRIVIL | I | <integer 1..9> | 1,2 |