Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Caller Graph |  Entry Points |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: ZTMCHK1

Package: Kernel

Routine: ZTMCHK1


Information

ZTMCHK1 ;SEA/RDS-Taskman: Option, ZTMCHECK, Part 2 ;5/31/07 12:13

Source Information

Source file <ZTMCHK1.m>

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Kernel 1 ZTMCHK  

Entry Points

Name Comments DBIA/ICR reference
INFO ;Display Task Manager's Information
STATUS ;Display Task Manager's Status-Related Information
LINKS ;Check Required Volume Sets' Links
LK ;Check one link
MGR ;LINKS--lookup name of another volume set's library uci
EOP ;Pause at end of page
DONE ;Prompt To Continue And Quit
EXIT
ERLINKS ;Error Trap For LINKS Code

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Checking the links to the required volume sets..."
  • Line Location: LINKS+1
Function Call: WRITE
  • Prompt: !?5,"There are no volume sets whose links are required!"
  • Line Location: LINKS+4
Function Call: WRITE
  • Prompt: !!,"Checks completed...Taskman's environment is okay!"
  • Line Location: LINKS+5
Function Call: READ
  • Prompt: "Press RETURN to continue or '^' to exit: "
  • Formatting: !
  • Timeout: $S($D(DTIME)#2:DTIME,1:60)
  • Variable: Y
  • Line Location: EOP+1
Function Call: WRITE
  • Prompt: !
  • Line Location: EOP+1
Function Call: WRITE
  • Prompt: @IOF,!!,"Here is the information that Taskman is using:"
  • Line Location: INFO+1
Function Call: WRITE
  • Prompt: !?5,"Operating System: ",$P(ZTOS,U)
  • Line Location: INFO+2
Function Call: WRITE
  • Prompt: !?5,"Volume Set: ",ZTVOL
  • Line Location: INFO+3
Function Call: WRITE
  • Prompt: !?5,"Cpu-volume Pair: ",ZTPAIR
  • Line Location: INFO+4
Function Call: WRITE
  • Prompt: !?5,"TaskMan Files UCI and Volume Set: ",$P(ZTVSS,U,6),","
  • Line Location: INFO+5
Function Call: WRITE
  • Prompt: $S(X="":ZTVOL,$D(^%ZIS(14.5,X,0))[0:ZTVOL,$P(^(0),U)="":ZTVOL,1:$P(^(0),U))
  • Line Location: INFO+5
Function Call: WRITE
  • Prompt: !!?5,"Log Tasks? ",$P(ZTPS,U,3)
  • Line Location: INFO+6
Function Call: WRITE
  • Prompt: !?5,"Task Partition Size: ",ZTSIZ
  • Line Location: INFO+8
Function Call: WRITE
  • Prompt: !?5,"Submanager Retention Time: ",ZTRET
  • Line Location: INFO+9
Function Call: WRITE
  • Prompt: !?5,"Min Submanager Count: ",$P(ZTPS,U,12)
  • Line Location: INFO+10
Function Call: WRITE
  • Prompt: !?5,"Taskman Hang Between New Jobs: ",ZTSLO
  • Line Location: INFO+11
Function Call: WRITE
  • Prompt: !?5,"TaskMan running as a type: ",$P("^COMPUTE^PRINT^GENERAL^","^",$F("CPG",$P(ZTPS,U,9)))
  • Line Location: INFO+12
Function Call: WRITE
  • Prompt: !?5,"TaskMan is using VAX enviroment: ",$P(ZTPS,U,10)
  • Line Location: INFO+13
Function Call: WRITE
  • Prompt: !?5,"TaskMan is using '",^(2),"' for load balancing"
  • Line Location: INFO+15
Function Call: WRITE
  • Prompt: !?5,"Balance Interval: ",$P(ZTPS,U,14)
  • Line Location: INFO+16
Function Call: WRITE
  • Prompt: !!?5,"Logons Inhibited?: ",ZTVLI
  • Line Location: STATUS+1
Function Call: WRITE
  • Prompt: !?5,"Taskman Job Limit: ",ZTVMJ
  • Line Location: STATUS+2
Function Call: WRITE
  • Prompt: !?5,"Max sign-ons: ",$P($G(^XTV(8989.3,1,4,+%,0)),U,3)
  • Line Location: STATUS+3
Function Call: WRITE
  • Prompt: !?5,"Current number of active jobs: ",Y
  • Line Location: STATUS+4
Function Call: READ
  • Prompt: "End of listing. Press RETURN to continue: "
  • Formatting: !
  • Timeout: $S($D(DTIME)#2:DTIME,1:60)
  • Variable: Y
  • Line Location: DONE+1
Function Call: WRITE
  • Prompt: !?5,"The link to volume set ",ZTS," is present!"
  • Line Location: LK+2
Function Call: WRITE
  • Prompt: !?5,"The link to volume set ",ZTS," appears to be down!",$C(7)
  • Line Location: ERLINKS+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZIS(14.5 - [#14.5] LINKS+3, INFO+5, MGR+1, MGR+2, MGR+3
^%ZIS(14.7 - [#14.7] INFO+14
^%ZOSF("ACTJ" STATUS+4
^%ZOSF("PROD" LK+2
^XTV(8989.3 - [#8989.3] STATUS+3

Label References

Name Line Occurrences
EXIT EOP+2
LK LINKS+3
MGR LK+2

Naked Globals

Name Field # of Occurrence
^( LINKS+3
^(0 LINKS+3, INFO+5, MGR+2
^(2 INFO+15

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % STATUS+3*
DTIME EOP+1, DONE+1
>> DTOUT EOP+1*, EOP+2, DONE+1*
>> DUOUT EOP+1*, EOP+2, DONE+1*
IOF INFO+1
U LINKS+3, INFO+2, INFO+5, INFO+6, INFO+10, INFO+12, INFO+13, INFO+16, STATUS+3, MGR+2
, MGR+3
X INFO+5*!
>> Y EOP+1*, STATUS+4, DONE+1*, MGR+1*, MGR+2*, MGR+3*, LK+2
>> ZT EOP+1*
>> ZTJ LINKS+2*, LINKS+4, LK+2*
>> ZTOS INFO+2, INFO+8
>> ZTPAIR INFO+4
>> ZTPN INFO+14
>> ZTPS INFO+6, INFO+10, INFO+12, INFO+13, INFO+16
>> ZTRET INFO+9
>> ZTS LINKS+3*, LK+2, ERLINKS+1
>> ZTSIZ INFO+8
>> ZTSLO INFO+11
>> ZTV LINKS+2*, LINKS+3*
>> ZTVLI STATUS+1
>> ZTVMJ STATUS+2
>> ZTVOL LINKS+3, INFO+3, INFO+5, STATUS+3
>> ZTVSN MGR+3
>> ZTVSS INFO+5
>> ZTX MGR+1, LK+2*
Info |  Source |  Caller Graph |  Entry Points |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All