CHECK-SECURITY

File 45
Op-Sys z/OS
Statement PROCESS
Task Asks an external security system (RACF, ACF2, TOP-SECRET) whether user is authorized to use a given resource, for example, a dataset.

Common Fields for all Operating Systems

Dictionary Field Name F/L Mu DE Remarks
ERROR-CODE N3      
ERROR-TEXT A58      
NODE N5   D  
NODE-NAME A16   D  
SYSTEM-MESSAGE-CODE A10      

Additional Fields Supported for z/OS

Dictionary Field Name F/L Mu DE Remarks
ENTITY A200   D  
CLASS A8   D  
ATTRIBUTE A8   D  
INSTALLATION-PARMS A250   D  
ALLOWED A8      

Field Descriptions

Field Name Format/Length Operating System
ALLOWED (A8) z/OS

Output field. Access allowed indicator. One of these values will appear in this field:

Value Explanation
ERROR-nn  Error returned by security system.
NO  Access not allowed.
NOSEC  Security not installed.
YES  Access allowed.
Field Name Format/Length Operating System
ATTRIBUTE (A8) z/OS

Entity attribute. Check whether user is allowed to access the resource with one of the following attributes as defined in the security system:

Attribute Explanation
ALTER  Permission to change external attributes of resource.
CONTROL  Permission to create resource.
READ  Permission to read resource.
UPDATE  Permission to update resource.
Field Name Format/Length Operating System
CLASS (A8) z/OS

Class of entity, for example DATASET. Default is FACILITY.

Field Name Format/Length Operating System
ENTITY (A200) z/OS

 Entity to be security checked.

Field Name Format/Length Operating System
INSTALLATION-PARMS (A250) z/OS

Installation parameters to be passed to security system.