%ZTMS3 ;SEA/RDS-TaskMan: Submanager, Part 5 (Run Task) ;08/27/08 14:19
Source file <ZTMS3.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| TASK | ;SUBMGR--prepare and run task; cleanup after
 | 
|
| BEFORE | ;prepare task
 | 
|
| 1 | ||
| 2 | ;restore saved variables
 | 
|
| 3 | ;
 | 
|
| 4 | ;run task
 | 
|
| 5 | ||
| AFTER(ZTTASK) | ;cleanup after task; reset partition
 | 
|
| RUN | ;Need ZTPFLG in run environment in case of error trap.
 | 
|
| CLOSE | ;RUN--close &/or close execute
 | 
|
| CLX | ||
| TSKSTAT(CODE,MSG,JOB) | ; Update task's status
 |