z/OS Security Server RACF Command Language Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example of RACF TSO commands in the background

z/OS Security Server RACF Command Language Reference
SA23-2292-00

The following example shows how to submit RACF® TSO commands in the background as a batch job:
//jobname     JOB   … 
//STEP1       EXEC  PGM=IKJEFT01,DYNAMNBR=20 
//SYSTSPRT    DD    SYSOUT=A
//SYSTSIN     DD    * 
 ADDGROUP     PROJECTA
 ADDUSER      (PAJ5 ESH25) 
 ADDSD  'PROJECTA.XYZ.DATA' 
 PERMIT 'PROJECTA.XYZ.DATA' ID(PAJ5) ACCESS(UPDATE)
/*
When a fully-qualified data set name is not given in a command entered in the background, the effect is the same as for a command entered in the foreground; the user's TSO default data set name prefix is used as the high-level qualifier of a DASD or tape data set name. The prefix is also used as the high-level qualifier for the name of a command procedure (CLIST) created as a result of the RACF SEARCH command. If the user is defined to TSO, the default prefix is in the TSO profile for the user specified in the USER parameter on the JCL JOB statement or the USER operand in the TSO SUBMIT command. If the user is not defined to TSO, there is no default prefix unless the TSO PROFILE command is used.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014