Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
Print Page as PDF
Routine: XUTMDEVQ

Package: Kernel

Routine: XUTMDEVQ


Information

XUTMDEVQ ;ISCSF/RWF - Device call and Queue in one place ;01/18/2006

Source Information

Source file <XUTMDEVQ.m>

Entry Points

Name Comments DBIA/ICR reference
EN(ZTRTN,ZTDESC,ZTSAVE,%ZIS,%) ;ZTSAVE AND %ZIS pass by reference.
  • ICR #1519
    • Status: Active
    • Usage: Supported
    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
  • ICR #1519
    • Status: Active
    • Usage: Supported
    OUT
    NODEV(ZTRTN,ZTDESC,%VAR,%VOTH,%WR) ; single que no device needed
    ; see DEV for parameter descriptions and return values
  • ICR #1519
    • Status: Active
    • Usage: Supported
    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
  • ICR #1519
    • Status: Active
    • Usage: Supported
    REQQ(ZTSK,ZTDTH,%VAR) ;Reschedule the second part of a QQ task.
  • ICR #1519
    • Status: Active
    • Usage: Supported
    SETUP ; setup %ztload variables
    VAR ;Setup ZTSAVE

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: "Request Aborted",!
    • Line Location: OUT+1
    Function Call: WRITE
    • Prompt: "Task queued ["_(+%RET)_"]",!
    • Line Location: OUT+2
    Function Call: WRITE
    • Prompt: !,"Second task queued ["_$P(%RET,U,2)_"]",!
    • Line Location: OUT+3
    Info |  Source |  Entry Points |  Interaction Calls