%ZTLOAD ;ISF/RDS,RWF - TaskMan: Programmer Interface: Entry Points ;07/26/2006
Source file <ZTLOAD.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| PSET(ZTM) | ;e.f. Set the persistents node | 
 
 | 
| STAT | ;Entry Point: return status of a task | 
 
 | 
| ISQED | ;Entry Point: return whether task is pending (scheduled or waiting) | 
 
 | 
| PCLEAR(ZTM) | ;Clear the persistents node | 
 
 | 
| REQ | ;Entry Point: requeue a task (edit, reschedule) | 
 
 | 
| RTN(RTN,LST) | ;Find tasks that call this routine | 
 
 | 
| ZTSAVE(%,%1) | ;input variables in string delimited by ; to build ZTSAVE array | 
 
 | 
| OPTION(OPNM,LST) | ;Find tasks for this OPTION. | 
 
 | 
| QUEUE | ;queue a task (create, schedule) (Entry Point = ^%ZTLOAD) | |
| ASKSTOP(ZTSK) | ;E.F. Ask a task to stop. | 
 
 | 
| KILL | ;Entry Point: delete a task | 
 
 | 
| DESC(DESC,LST) | ;Find tasks with description | 
 
 | 
| JOB(ZTM) | ;Return the job # for a running task | 
 
 | 
| S(MSG) | ;Entry Point: extrinsic variable returns boolean: should task stop? | 
 
 | 
| TM() | ;Entry Point: extrinsic variable returns boolean: is TM running? | 
 
 | 
| TN | ||
| DQ | ;Entry Point: dequeue a task (unschedule) | 
 
 | 
| Name | Line Occurrences (* Changed, ! Killed) | 
|---|---|
| ^%ZTSCH("RUN" | TM+1 | 
| ^%ZTSCH("TASK" | S+1*, PSET+1, PSET+2*, PCLEAR+1, PCLEAR+2! | 
| ^%ZTSCH("ZTSK" | KILL+6 | 
| ^%ZTSK - [#14.4] | S+2*, S+4, KILL+3, KILL+4, KILL+7! | 
| Name | Line Occurrences | 
|---|---|
| TN | PSET+1, PCLEAR+1 | 
| >> | Not killed explicitly | 
| * | Changed | 
| ! | Killed | 
| ~ | Newed | 
| Name | Field # of Occurrence | 
|---|---|
| % | ZTSAVE~, ZTSAVE+2 | 
| %1 | ZTSAVE~, ZTSAVE+1, ZTSAVE+2* | 
| %2 | ZTSAVE+1~, ZTSAVE+2* | 
| DESC | DESC~ | 
| LST | DESC~, RTN~, OPTION~ | 
| MSG | S~, S+2 | 
| OPNM | OPTION~ | 
| RTN | RTN~ | 
| ZTH | TM+1~*, TM+2 | 
| ZTM | JOB~, PSET~, PSET+1, PSET+2, PCLEAR~, PCLEAR+1, PCLEAR+2, TN* | 
| >> ZTQUEUED | S+1, S+2, S+4, TN | 
| ZTR | TM+1~*, TM+2 | 
| ZTSAVE | ZTSAVE+1! | 
| ZTSAVE( | ZTSAVE+2* | 
| ZTSK | KILL+1*, KILL+3, KILL+4, KILL+6, KILL+7, ASKSTOP~, TN | 
| ZTSK(0 | KILL+2!*, KILL+7* | 
| ZTSTOP | S+3~*, S+4*, S+5 |