This processing subroutine is invoked at the end of every JOB in the JCL stream. You can place any logic here you want. For example, you can keep a count of total jobs processed or the number of jobs with specific accounting information.
You can use the IF statement to interrogate all of the same variables as for the DD and EOS statements (that is, the last generation of JOB/EXEC/DD variables). Only one generation of each statement type is active at any one time.
/********************************************************************/
/* Job End processing Subroutine */
/********************************************************************/
A END_JOB_PROCESSING:
/* Your job end processing goes here */
B Return
Defines the name of this subroutine to the DO WHILE loop.
This is an example of a processing routine without any active logic. It returns processing to the main DO WHILE loop.
|
Copyright © 2014 CA.
All rights reserved.
|
|