Tags

, , , , , , , ,

MAINFRAME – GRANT and REVOKE Dataset Access

GRANT

This solution assumes you have a RACF profile with your USERID.**

On the command line:

Code:

TSO PERMIT USERID.** ID(USER1) ACCESS(READ) CLASS(DATASET) GEN

USER1 is the USERID of the person to whom you want to grant access.

You can decide on using READ, UPDATE, or ALTER.
READ implies only reading a file
UPDATE implies you can make changes and/or save an existing file.
ALTER implies you can create, change, and delete a file.

This will not work for ACF2 or Top Secret.

REVOKE

Still the RACF PERMIT command, but with the DELETE operand.

Code:
TSO PERMIT USERID.** ID(USER1) DELETE

You may also like to look at:

AMODE and RMODE
cobol indicator area column-7 and area a and area b
COBOL program format
Computational items – COMP, COMP 1 , COMP 2, COMP 3
Conditional processing
Continuation lines in COBOL
GOBACK – EXIT PROGRAM – STOP RUN
MAINFRAME – GRANT and REVOKE Dataset Access
MAINFRAME – PS DATASET GETTING NUMBER AT END AUTOMATICALLY
Member Selection in ISPF 3.4
NDM – FASTER MODE
SDSF TIPS
SDSF; Status panel (ST) Columns
The IDENTIFICATION DIVISION
TSO/E COMMANDS
Xpediter – Batch Setup

Advertisements