XUTMDEVQ ;ISCSF/RWF - Device call and Queue in one place ;01/18/2006
Source file <XUTMDEVQ.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
EN(ZTRTN,ZTDESC,ZTSAVE,%ZIS,%) | ;ZTSAVE AND %ZIS pass by reference.
|
|
KILL | ||
ZIS | ;
|
|
ZTLOAD | ;
|
|
RUN | ;
|
|
DEV(ZTRTN,ZTDESC,%VAR,%VOTH,%ZIS,IOP,%WR) | ; single que ask for device
; ZTRTN - required - [tag]^routine that taskman will run ; ZTDESC - optional - default to name of [tag]~routine ; %VAR - optional - single value or passed by reference ; this will be used to S ZTSAVE() ; can be a string of variable names separated by ';' ; each ;-piece will be used as a subscript in ztsave ; %VOTH - optional - passed by reference ; %voth(sub)="" or explicit value ; sub - this is any other %ZTLOAD variable besides ; ZTRTN,ZTDESC,ZTIO,ZTSAVE ; example: %VOTH("ZTDTH")=$H ; %ZIS - optional - default value "MQ" - passed by reference ; standard %ZIS variable array for calling device handler ; IOP - optional - IOP variable as defined in Kernel device handler ; %WR - optional - if %WR>0 then write text to the screen as to ; whether or not the queueing was successful |
|
OUT | ||
NODEV(ZTRTN,ZTDESC,%VAR,%VOTH,%WR) | ; single que no device needed
; see DEV for parameter descriptions and return values |
|
QQ(%RTN,%DESC,%VAR1,%VOTH1,%ZIS,IOP,%WR,%RTN2,%DESC2,%VAR2,%VOTH2) | ;
; double queuing - queue up the second routine to device, but do not ; schedule the task in Taskman ; queue up the first job to ZTIO="" and schedule it ; %RTN - required - [tag]^routine for the 1st job to be run (usually a ; search and build sorted data type process) ; %DESC - optional - ZTDESC value for 1st job (default [tag]~routine) ; %VAR1 - optional - ZTSAVE values for 1st job - see %VAR descript above |
|
REQQ(ZTSK,ZTDTH,%VAR) | ;Reschedule the second part of a QQ task.
|
|
SETUP | ; setup %ztload variables
|
|
VAR | ;Setup ZTSAVE
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|