Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Defining programs as MAIN or BASIC z/OS Security Server RACF Security Administrator's Guide SA23-2289-00 |
|
Once you have decided which of your programs to define as MAIN and which as BASIC (if any), you assign these attributes using the APPLDATA operand on an RDEFINE PROGRAM or RALTER PROGRAM command. Specify an APPLDATA value of 'MAIN' or 'BASIC' on the RDEFINE or RALTER command for a PROGRAM profile whose name does not end with an asterisk (*). RACF® does not honor the MAIN or BASIC attributes if the profile name ends in an asterisk, but only honors it for profiles defining specific programs. 'MAIN' denotes the program as a MAIN program, assuming it is invoked as the first program in a job step or through the TSO/E TSOEXEC command or IKJEFTSR service. 'BASIC' denotes the program as one that can access data through PADS, or run EXECUTE-controlled programs, whether or not it runs within an environment started by a MAIN program. A program cannot be both a MAIN and a BASIC program because RACF honors the APPLDATA specification only if it is 'MAIN' or 'BASIC' (possibly followed by blanks). Tip: If a program needs both the MAIN and BASIC specifications, specify BASIC and accept the reduced level of security for all uses of the program, or create two differently named copies of the program and protect each separately with PROGRAM profiles, specifying one as 'MAIN' and one as 'BASIC'. Since RACF restricts usage
of PADS and execute-controlled programs to environments established
by a MAIN or BASIC program, there might be situations where the program
that establishes the environment resides in the system link pack area
(LPA, PLPA, FLPA, MLPA, or dynamic LPA). If you need to define such
a program to RACF to indicate
to RACF that it has the MAIN
or BASIC attribute, use a library name of 'LPALST':
For programs in the link pack area, RACF allows users to execute the program, regardless of the UACC or access list, and RACF treats the program as having the NOPADCHK attribute. Define it in the PROGRAM class only if you need to provide a MAIN or BASIC attribute for it. Note:
|
Copyright IBM Corporation 1990, 2014
|