Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

REMOVE-USER

&pagelevel(3)&pagelevel

Delete user entry from user catalog

Component:

SRPMNUC

Functional area:

User management

Domain:

USER-ADMINISTRATION

Privileges:

STD-PROCESSING
USER-ADMINISTRATION

Routing code:

$

Function

The REMOVE-USER command enables the systems support staff to delete a user’s entry from the user catalog of a pubset.
Execution of this command proceeds as follows:

If jobs are still active for the user when a data pubset is specified, execution of the command is discontinued and the message SRM2215 is issued. By entering ’Y’ you confirm the deletion of the user ID and execution of the command is continued. Make sure that the pubset data cannot be accessed by active jobs, as this would lead to errors.
By entering ’N’, you lock the user ID and the command is terminated.

First, the user’s files and job variables (and, when SECOS is being used, the guards) are deleted from the pubset and after a confirmation they are deleted logically, also:

  • If errors occur during deletion, the user ID is locked (not deleted). All necessary steps must be taken to enable the files to be deleted. The REMOVE-USER command must then be repeated.

  • If the files have been deleted without problems, the user entry in the user catalog is also deleted.

The REMOVE-USER command is rejected

  • for the standard user IDs allocated by the system except for the user SERVICE ID

  • for a user ID to which at least one system-global privilege other than STD-PROCESSING is allocated (if SECOS is used)

  • for a user ID which is the administrator of a user group (if SECOS is used).

  • for the home pubset if the user ID still has active tasks

  • for the data pubset if the user ID still has active tasks and the message SRM2215 was answered with ’N’

As a general rule, no user ID can be deleted if it has any system privilege other than STD-PROCESSING.
However, if SECOS is being used, such a user ID can be deleted by first assigning to it the STD-PROCESSING privilege, and then withdrawing the other individual privilege from it.

Restriction

The only nonprivileged users (STD-PROCESSING privilege) authorized to issue this command are those designated as group administrators. The actions a group administrator can take are defined by systems support. For information on setting up and managing user groups see the “SECOS” manual [35]. 

Format

REMOVE-USER                                                                                                                                            

USER-IDENTIFICATION = <name 1..8>

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

Operands

USER-IDENTIFICATION = <name 1..8>
Identifies the user whose entry is to be deleted.

PUBSET =
Deletes the entry in the user catalog of the specified pubset.

PUBSET = *HOME
Deletes the entry in the user catalog of the home pubset.
As a result, the user ID no longer has access to the system.

PUBSET = <cat-id 1..4>
The user ID is deleted from the user catalog of the specified pubset.

Return codes

(SC2)

SC1

Maincode

Meaning


0

CMD0001

No error

2

0

SRM6001

Command executed with a warning


1

SRM6010

Syntax error


32

SRM6020

System error during command processing


64

SRM6040

Semantic error


130

SRM6030

Command cannot temporarily be executed