LAST – Last logical operation

Sets the default logical last operation within an application for any process that needs a logical end point.

LAST(<operation>[,LINK][,ALL])

where:
<operation>
The number of the operation to be considered the logical end point of the application.
LINK
Instructs Workload Automation Programming Language to create an automatic ADDEP statement to link to the last operation for any operation without a successor.
ALL
Together with LINK, instructs Workload Automation Programming Language to create automatic ADDEP statements to link to the last operation for all operations, including ones with successors.
Note:
  1. ALL is effective only if LINK is also specified.
  2. LINK cannot be used together with DBMODE(COPY) or DBMODE(UPDATE).