Example STARTED profiles for started jobs
This topic includes examples of defining STARTED profiles in RACF® for CICS® started jobs.
Example of a generic profile for multiple AORs
The following example shows how to define a generic profile for jobs that are to be started using a procedure called CICSTASK.
RDEFINE STARTED (CICSTASK.CICSDA*) STDATA(USER(CICSDA##))When you issue the START command to start CICSTASK with a job name of, say, CICSDAA1, MVS passes the procedure name (CICSTASK), and the job name (CICSDAA1) to obtain the userid under which this CICS application-owning region is to run. In this example the CICS region userid is defined as CICSDA##, for all regions started under the generic profile CICSTASK.CICSDA*.
Example of a unique profile for each region
RDEFINE STARTED (CICSTASK.CICSDAA2) STDATA(USER(CICSDAA2))When you issue the START command to start CICSTASK with the job name CICSDAA2, MVS passes the procedure name (CICSTASK) and the job name (CICSDAA2) to obtain the userid under which this CICS application-owning region is to run. In this example the CICS region userid is defined as CICSDAA2, the same as the APPLID.