Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: %ZTMS3

Package: Kernel

Routine: %ZTMS3


Information

%ZTMS3 ;SEA/RDS-TaskMan: Submanager, Part 5 (Run Task) ;08/27/08 14:19

Source Information

Source file <ZTMS3.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Kernel 8 SAVEVAR^%ZIS  ^%ZISC  (LOGRSRC,SETNM)^%ZOSV  PCLEAR^%ZTLOAD  ($$SYNCFLG,SCHSYNC)^%ZTMS2  (LOGIN,LOGOUT,POST,RESTORE)^%ZTMS4  XUTL^XUSCLEAN  SETLOCK^XUSCNT  
VA FileMan 1 NOW^%DTC  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Kernel 2 %ZTMS2  %ZTMS4  

Entry Points

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

External References

Name Field # of Occurrence
NOW^%DTC BEFORE+10
SAVEVAR^%ZIS 2+14
^%ZISC CLOSE+9
LOGRSRC^%ZOSV 4+7, 5+2
SETNM^%ZOSV 1, AFTER+6
PCLEAR^%ZTLOAD 5+4
$$SYNCFLG^%ZTMS2 AFTER+9
SCHSYNC^%ZTMS2 AFTER+9
LOGIN^%ZTMS4 4+5
LOGOUT^%ZTMS4 5+3
POST^%ZTMS4 AFTER+10
RESTORE^%ZTMS4 2+4
XUTL^XUSCLEAN AFTER+11
SETLOCK^XUSCNT 4+2, AFTER+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZIS(14.7 - [#14.7] 4+5
^%ZTSCH("LOGRSRC" BEFORE+7, 4+7, 5+2
^%ZTSCH("TASK" 4+2, 4+3, 4+6*, AFTER+4!
^%ZTSK - [#14.4] 2+10, 3+2, 3+3, AFTER+3, TSKSTAT+1*, TSKSTAT+2*
^DD("DILOCKTM" 2+11
^TMP($J 2+3!, AFTER+11!
^UTILITY($J 2+3!, AFTER+11!
^VA(200 - [#200] 2+7, 2+8
^XTV(8989.3 - [#8989.3] 2+1
^XUTL("XQ" 2+3!, 2+13*, 2+14*, 2+15*, AFTER+11!

Label References

Name Line Occurrences
@( RUN+4
AFTER 3+2, 3+4, 5+5
CLOSE AFTER+10
CLX CLOSE+1
RUN 4+10
TSKSTAT 3+4, 3+5, 5+5

Naked Globals

Name Field # of Occurrence
^( 4+6*
^("ZTSK" 2+13*
^("ZTSKNUM" 2+13*
^(0 2+8
^(1 2+8

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% BEFORE+10, 2+2!, RUN+1~, RUN+3*
%H 2+2!
%I 2+2!
%IO CLOSE+2~, CLOSE+10, CLX*
%ZTI 2+2!
%ZTIO 2+2!, AFTER+7*, AFTER+12, CLOSE+1
%ZTPFLG 4+9*, 5!, RUN+2
%ZTTV BEFORE+2!, BEFORE+4*, 4+6, 5+1, AFTER+7, AFTER+8, AFTER+12, RUN+1~
%ZTTV("DUZ" BEFORE+3*, 2+6, AFTER+8
%ZTTV("LOG" 4+5*, 5+3
%ZTTV(0 BEFORE+5*, 4+6*, AFTER+8
%ZTTV(1 BEFORE+7*, 4+7, 5+2
CODE TSKSTAT~, TSKSTAT+1
>> DILOCKTM 2+11*
DT BEFORE+10*, 2+13, 4+8*, AFTER+12
DTIME 2+10*
DUZ BEFORE+3*, BEFORE+4, 2+6*, 2+7, 2+8, 2+14, AFTER+8*, AFTER+14*
DUZ(0 2+4*, 2+7*, AFTER+14*
DUZ(2 2+8*
IO BEFORE+4, AFTER+7*, AFTER+9, AFTER+12, CLOSE+9, CLX
IO("C" 2+2!, AFTER+13!, CLOSE+4!*
IO("CLOSE" CLOSE+5
IO("DOC" AFTER+13!
IO("ERROR" AFTER+13!
IO("HFSIO" AFTER+13!
IO("LASTERR" AFTER+13!
IO("P" AFTER+13!
IO("T" 2+2!, AFTER+13!, CLOSE+5*
IO(0 AFTER+7*
IO(1 CLOSE+9, CLX!
IOCPU CLOSE+2~
IOF BEFORE+4, AFTER+8*, AFTER+12
ION BEFORE+5, AFTER+12
>> IOS BEFORE+4, AFTER+7*, AFTER+12
IOST BEFORE+4, AFTER+8*, AFTER+12
>> IOT BEFORE+4, AFTER+7*, AFTER+12, CLOSE+3, CLOSE+4, CLOSE+6
JOB TSKSTAT~, TSKSTAT+2
MSG TSKSTAT~, TSKSTAT+1
U BEFORE+3, BEFORE+4, BEFORE+5, BEFORE+7, 2+1, 2+7, 3+3, 4+5, 4+6, 5+1*
, AFTER+7, AFTER+8, AFTER+12, TSKSTAT+1, TSKSTAT+2
X 2+1*, 2+2!, 2+15*, AFTER+9*
>> XRTL 2+1*
XUALLOC RUN+1~
XUALLOC( RUN+3*
Y 2+2!
ZTCPU BEFORE+4, 2+1, 2+2!, AFTER+7*, AFTER+12, CLOSE+2~
ZTDEF 2+2!
>> ZTDESC 2+10*, 2+13
>> ZTDTH 2+10*
>> ZTIO 1
ZTIOST 2+2!
ZTIOT 2+2!
>> ZTLKTM 5+1*, AFTER+12
ZTNODE BEFORE+4, 2+2!, AFTER+7*, AFTER+12, CLOSE+2~
ZTNONEXT AFTER+12, CLOSE+1*, CLOSE+3*, CLOSE+6!
ZTPAIR BEFORE+4, BEFORE+5, 2+2!, AFTER+8*, AFTER+12
ZTPFLG 4+9, AFTER+12, RUN+1~, RUN+2*
ZTPFLG("LOCKTM" 5+1
ZTPFLG("USER" 2+6
ZTPFLG("XUSCNT" 4+2, AFTER+1
ZTPFLG("ZTPN" 4+5
ZTPFLG("ZTREQ" 4+8
>> ZTQUEUED 3+6*, AFTER+4*, AFTER+12, AFTER+14*
ZTREC BEFORE+3, BEFORE+5, BEFORE+7, 2+2!
ZTREC2 2+2!
ZTREC21 2+2!
ZTREC25 2+2!
>> ZTREQ 4+8*, AFTER+12
>> ZTRTN BEFORE+5, RUN+4
>> ZTSK BEFORE+4, 12+10, 2+13, 3+2, 3+3, 3+6, 4+2, 4+3, 4+6
5+1*, 5+4, AFTER+3, AFTER+4, TSKSTAT+1, TSKSTAT+2
>> ZTSTAT 3+6*, AFTER+9
>> ZTSTOP AFTER+12
>> ZTSYNCFL BEFORE+5, AFTER+8*, AFTER+9
ZTTASK AFTER~, AFTER+4, AFTER+10
ZTUCI BEFORE+4, BEFORE+5, 2+1, 2+2!, AFTER+7*, AFTER+12, CLOSE+2~
>> ZTYPE BEFORE+4, AFTER+8*, AFTER+12

Marked Items

Name Field # of Occurrence
$T(XUTL^XUSCLEAN AFTER+11
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All