Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

CREATE-PRIVILEGE-SET Create privilege set

Domain:

SECURITY-ADMINISTRATION

Privileges:

SECURITY-ADMINISTRATION

This command creates a privilege set. Details of privilege sets can be found on "Privilege sets".

CREATE-PRIVILEGE-SET

PRIVILEGE-SET-NAME = <name 1..8>

,PRIVILEGE = *NONE / list-poss(64): <text>

,PUBSET = *HOME / <cat-id 1..4>

PRIVILEGE-SET-NAME = <name 1..8>
The name of the privilege set to be created. This name is stored in the user catalog.

PRIVILEGE = *NONE / list-poss(64)
This defines whether individual privileges are to be assigned to a privilege set.

PRIVILEGE = *NONE
No individual privileges are to be assigned to the privilege set; the command simply creates a name for future definitions.

PRIVILEGE = list-poss(64): <text>
The specified privileges are assigned to the privilege set. See "Functional overview" for possible privileges.
Exceptions: TSOS and SECURITY-ADMINISTRATION

PUBSET = *HOME / <cat-id 1..4>
The pubset in which the privilege set is to be entered.

PUBSET = *HOME
The privilege set is to be created on the home pubset.

PUBSET = <catid 1..4>
The privilege set is to be created on the specified pubset.

Command return codes

(SC2)

SC1

Maincode

Meaning


0

CMD0001

Command executed without errors


32

SRM6020

System error during command execution


64

SRM6040

Semantic error during command execution


130

SRM6030

Command cannot be executed at the present time

Example

A privilege set for tape processing is to be created. This privilege set (with the name ARCHIVE) is to receive the privileges HSMS-ADMINISTRATION and
TAPE-ADMINISTRATION.

/create-privilege-set privilege-set-name=archive, -

/ privilege=(hsms-administration, tape-administration)

To check the assignments, the command SHOW-PRIVILEGE-SET is issued:

/show-privilege-set information=privilege(privilege-set-name=archive)

THE FOLLOWING PRIVILEGES ARE ASSIGNED TO PRIVILEGE-SET ARCHIVE ON PVS ABC1

HSMS-ADMINISTRATION TAPE-ADMINISTRATION