Specifies the job as an end point for the SMART table.
Figure 224a END-TABLE Parameter Format
OUT
AUTO-ARCHIVE Y SYSDB Y MAXDAYS MAXRUNS
RETENTION: # OF DAYS TO KEEP # OF GENERATIONS TO KEEP
SYSOUT OP (C,D,F,N,R) FROM
MAXRERUN RERUNMEM END-TABLE Y
CAPTURE BY (W - WORD / C - CHAR)
Optional. Valid values are indicated in the following table.
Table 188a END-TABLE Parameter Values
Value |
Description |
---|---|
Y (Yes) |
The job is an end point for the SMART table. |
N (No) |
The job is not specified as an end point for the SMART table. Default. |
After the end point job completes, no additional jobs in the SMART table will be submitted and the table is marked as complete when the jobs, which are still executing, end.
Jobs remain in WAIT-SCHEDULE status if they were not submitted before the table was marked as complete.
If jobs in the SMART table, which were submitted before the table was marked as complete, end OK, the table is marked OK. Otherwise, the table is marked as NOT-OK.
Note: Several end points can be defined in the SMART table allowing it to be marked complete by different jobs in the implemented flow.
EXAMPLE:
A SMART table has three jobs: JOBA, JOBB and JOBC.
JOBB runs only if JOBA ended OK.
JOBC runs only if JOBA ended not OK.
As a result, either JOBB or JOBC will run, but not both of them. As a result the SMART table will never complete, unless Y (yes) is specified for the END-TABLE parameter in the Job Definitions of both JOBB and JOBC. Thus both jobs are specified as ending points for the SMART table.
Parent Topic |