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 |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: ZTMB

Package: Kernel

Routine: ZTMB


Information

ZTMB ;SEA/RDS-Taskman: Manager, Boot/ Option, ZTMRESTART ;10/07/08 16:13

Source Information

Source file <ZTMB.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Kernel 2 ($$EC,GETENV)^%ZOSV  START^%ZTM0  

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: 1

Package Total Caller Graph
Kernel 1 XUTM RESTART  

Entry Points

Name Comments DBIA/ICR reference
START ;Start Taskmanager
VXD
VXD2
CACHE ;Cache or OpenM
DTM ;For DTM only
DTM2
RESTART ;Restart Taskmanager
INIT
NULLDEV ;SELECT NULL DEVICE (DTM OS Dependent)
HWTYPE ;HARDWARE TYPE(DTM OS Dependent)
HELP1 ;RESTART--improved help for the confirmation prompt.
HELP2 ;RESTART--??-help for confirmation prompt
DONE ;RESTART--feedback after restarting TaskMan

External References

Name Field # of Occurrence
$$EC^%ZOSV VXD2VXD2+1
GETENV^%ZOSV INIT+1
START^%ZTM0 START+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Taskman NOT Started"
  • Line Location: START+8
Function Call: WRITE
  • Prompt: !,"Don't start TaskMan with the SHARE privilege"
  • Line Location: VXD+0
Function Call: WRITE
  • Prompt: !!,"You lack the system privilege to start TaskMan."
  • Line Location: VXD2+0
Function Call: WRITE
  • Prompt: !!,"The following error has prevented TaskMan from starting:",!,$$EC^%ZOSV
  • Line Location: VXD2+1
Function Call: WRITE
  • Prompt: !,"Don't start TaskMan with the SHARE privilege"
  • Line Location: CACHE+6
Function Call: WRITE
  • Prompt: $C(7),!,"NOTE THAT THE SYSTEM IS IN A 'SIGNOFF' STATE,",!?4,"WHICH PROBABLY EXPLAINS WHY TASKS ARE NOT RUNNING!!",!
  • Line Location: RESTART+4
Function Call: WRITE
  • Prompt: !,"TASKMAN IS ALREADY RUNNING"
  • Line Location: RESTART+6
Function Call: WRITE
  • Prompt: !,"Don't start TaskMan with the SHARE privilege"
  • Line Location: RESTART+8
Function Call: WRITE
  • Prompt: !,"Don't start TaskMan with the SHARE privilege"
  • Line Location: RESTART+10
Function Call: WRITE
  • Prompt: !,"ARE YOU SURE YOU WANT TO RESTART ",$S(ZTMULT:"ANOTHER ",1:""),"TASKMAN? NO//"
  • Line Location: RESTART+12
Function Call: READ
  • Variable: %Y
  • Timeout: $S($D(DTIME)#2:DTIME,1:60)
  • Line Location: RESTART+13
Function Call: WRITE
  • Prompt: " (NO)",!,*7,"<NO ACTION TAKEN>",!
  • Line Location: RESTART+15
Function Call: WRITE
  • Prompt: " (YES)",!,"Restarting..."
  • Line Location: RESTART+16
Function Call: WRITE
  • Prompt: !!,$C(7),"Taskman NOT Restared",!
  • Line Location: RESTART+23
Function Call: WRITE
  • Prompt: !!?5,"Answer must be YES or NO."
  • Line Location: HELP1+1
Function Call: WRITE
  • Prompt: !?5,"Answer YES to restart ",$S(ZTMULT:"another ",1:""),"TaskMan.",!
  • Line Location: HELP1+2
Function Call: WRITE
  • Prompt: !!?5,"TaskMan must be running in each library uci on the system for tasks to run."
  • Line Location: HELP2+1
Function Call: WRITE
  • Prompt: !?5,"One TaskMan per library uci should be enough for all but the busiest sites."
  • Line Location: HELP2+2
Function Call: WRITE
  • Prompt: !?5,"The System Status option and the Monitor TaskMan option can help determine"
  • Line Location: HELP2+3
Function Call: WRITE
  • Prompt: !?5,"whether a TaskMan is running on this volume set."
  • Line Location: HELP2+4
Function Call: WRITE
  • Prompt: !!?5,"If you are still uncertain how to respond, answer NO and consult your"
  • Line Location: HELP2+5
Function Call: WRITE
  • Prompt: !?5,"documentation or your support ISC.",!
  • Line Location: HELP2+6
Function Call: WRITE
  • Prompt: "TaskMan restarted!",!
  • Line Location: DONE+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZIS(14.7 - [#14.7] VXD+1, CACHE+3
^%ZOSF("MGR" INIT
^%ZOSF("OS" INIT
^%ZOSF("SIGNOFF" RESTART+3
^%ZOSF("TRAP" VXD2+2, DTM2
^%ZOSF("VOL" DTM2
^%ZTSCH("RUN" RESTART+6

Label References

Name Line Occurrences
CACHE START+3, RESTART+18
DONE RESTART+18, RESTART+20, RESTART+21
DTM START+6, RESTART+19
HELP1 RESTART+14
HELP2 RESTART+14
HWTYPE NULLDEV+2
INIT START+2, RESTART+2
NULLDEV DTM+2
VXD START+4, RESTART+22

Naked Globals

Name Field # of Occurrence
^("RUN" RESTART+6
^("SIGNOFF" RESTART+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% START+1~, VXD*, VXD+1*, VXD2+3*, CACHE+3*, CACHE+5*, CACHE+6, CACHE+13*, DTM2*, RESTART+1~
>> %GETJPI VXDRESTART+7
>> %H HWTYPE+1*, HWTYPE+2
%HW NULLDEV+1~, NULLDEV+2, HWTYPE+1!, HWTYPE+2*
>> %SPAWN VXD2+5*, CACHE+12*, CACHE+13
>> %Y RESTART+11, RESTART+13*, RESTART+14, RESTART+15
%ZTI RESTART+1~, RESTART+11*
CONF CACHE+10~*, CACHE+12
DEV DTM+1~, DTM+2*
DTIME RESTART+13
NULLDEV DTM+1~, NULLDEV+2*
U VXD+1, CACHE+3, INIT*, INIT+1
X START+1~, VXD2+2*, DTM2*, RESTART+1~
>> Y INIT+1
Z START+1~, VXD+1*, VXD2VXD2+1, VXD2+2*, CACHE+3*, DTM+3*, DTM2*, RESTART+1~
ZTMB START+1~, START+2*, VXD2+3, VXD2+5, DTM+2, DTM2RESTART+1~, RESTART+17*
ZTMODE START+1~, VXD+1*, VXD2+3, VXD2+5, CACHE+3*, CACHE+4, CACHE+9, RESTART+1~
ZTMULT START+1~, RESTART+1~, RESTART+5*, RESTART+6*, RESTART+12, HELP1+2
ZTNODE START+1~, VXD2+5, CACHE+12, RESTART+1~, INIT+1*
ZTOS START+1~, START+3, START+4, START+5, START+6, RESTART+1~, RESTART+7, RESTART+9, RESTART+18, RESTART+19
RESTART+20, RESTART+21, RESTART+22, INIT*
ZTPAIR START+1~, VXD+1, CACHE+3, CACHE+10, RESTART+1~, INIT+1*
ZTUCI START+1~, CACHE+12, DTM2RESTART+1~, INIT*
ZTVOL START+1~, RESTART+1~, INIT+1*

Marked Items

Name Field # of Occurrence
$T(START^%ZTM0 START+7
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All