Process Execution Sequence
The Process execution sequence is the second flow through which IBM® Connect:Direct® services execute a user request. During this sequence, one or more of the following control points is invoked:
- Process start invokes the stage 2 security exit.
- Copy statement invokes the stage 2 security exit.
- Run Task statement invokes the Run Task security exit.
- Process end invokes the stage 2 security exit.
- Run Job statement invokes the stage 2 security exit or the Run Job security exit.
When IBM Connect:Direct executes a Process for a user, several DTF security control points exist, as shown in the following figure:
Refer to the numbers in the illustration as you trace the following Process flow:
- Process start—This point in the stage 2 security exit gains control whenever a Process begins initial execution or restart execution, and enables verification of the authority of the requesting user to perform the IBM Connect:Direct functions contained in the Process.
- File access—This point in the stage 2 security exit gains control during Process execution whenever a COPY or RUN JOB statement is encountered. It enables verification of the access of the user to read or write the file defined in the COPY statement.
With the RUN JOB statement, the exit enables verification of the user to read the file containing the job stream to be submitted.
- Run Job—This exit point enables job stream validation and gains control when the following conditions exist:
- RUN JOB statement is encountered during Process execution
- RUN.JOB.EXIT initialization parameter is specified
- Run Task—This exit point enables program validation and gains control when the following conditions exist:
- RUN TASK statement is encountered during Process execution
- RUN.TASK.EXIT initialization parameter is specified
- Process end—This point in the stage 2 security exit gains control whenever a Process terminates, whether normally or abnormally. This exit point assists in cleaning up the security resources involved in Process execution.
Note: Copy, Run Job, and Run Task exit functions are entered for every occurrence of the associated statement in a IBM Connect:Direct Process.