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

Package: Kernel

Routine: ZOSVGUX Platform: GT.M/UNIX


Information

%ZOSV ;SFISC/AC,PUG/TOAD,HOU/DHW - View commands & special functions. ;09/15/08 16:41

Source Information

Source file <ZOSVGUX.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Kernel 6 RESOK^%ZIS6  $$PWD^%ZISH  RU^%ZOSVKR  LC^XUS  BYE^XUSCLEAN  PRGM^ZUA  
MailMan 1 ^XMB  

Entry Points

Name Comments DBIA/ICR reference
ACTJ() ; # active jobs
AVJ() ; # available jobs, Limit is in the OS.
RTNDIR() ; primary routine source directory
TEMP() ; Return path to temp directory
PASSALL ;
NOPASS ;
GETPEER() ;Get the IP address of a connection peer
PRGMODE ;Drop into direct mode
PROGMODE() ; In Application mode
UCI ;
UCICHECK(X) ;
JOBPAR ; <=====
SHARELIC(TYPE) ;Used by Cache implementations
PRIORITY ;
PRIINQ() ;
BAUD
LGR() ; Last global reference ($REFERENCE)
EC() ; Error Code: returning $ZS in format more like $ZE from DSM
DOLRO ;SAVE ENTIRE SYMBOL TABLE IN LOCATION SPECIFIED BY X
ORDER ;SAVE PART OF SYMBOL TABLE IN LOCATION SPECIFIED BY X
PARSIZ ;
NOLOG ;
GETENV ;Get environment Return Y='UCI^VOL^NODE^BOX LOOKUP'
VERSION(X) ;return OS version, X=1 - return OS
OS() ;
SETNM(X) ;Set name, Trap dup's, Fall into SETENV
SETENV ;Set environment X='PROCESS NAME^ '
SID() ;System ID
PRI() ;Check if a mixed OS enviroment.
T0 ; start RT clock
T1 ; store RT datum w/ZHDIF
ZHDIF ;Display dif of two $ZH's
LOGRSRC(OPT,TYPE,STATUS) ;record resource usage in ^XTMP("KMPR"
SETTRM(X) ;Turn on specified terminators.
DEVOK ;
DEVOPN ;List of Devices opened. Linux only
RETURN(%COMMAND) ; ** Private Entry Point: execute a shell command & return the resulting value **
; %COMMAND is the string value of the Linux command
STRIPCR(%DIRECT) ; ** Private Entry Point: strip extraneous CR from end of lines of all
; routines in %DIRECTORY Linux directory

External References

Name Field # of Occurrence
RESOK^%ZIS6 DEVOK+8
$$PWD^%ZISH JOBPAR+1
RU^%ZOSVKR LOGRSRC+3
^XMB PRGMODE+4, PRGMODE+4
LC^XUS PRGMODE+3
BYE^XUSCLEAN PRGMODE+4
PRGM^ZUA PRGMODE+5

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Variable: Y
  • Timeout: 99
  • Line Location: ACTJ+8
Function Call: WRITE
  • Prompt: !
  • Line Location: PRGMODE+2
Function Call: WRITE
  • Prompt: "??",$C(7)
  • Line Location: PRGMODE+3
Function Call: READ
  • Variable: Y
  • Timeout: 99
  • Line Location: JOBPAR+5
Function Call: WRITE
  • Prompt: !," ET=",$J(($P(%ZH1,",")-$P(%ZH0,",")*86400)+($P(%ZH1,",",2)-$P(%ZH0,",",2)),6,2)
  • Line Location: ZHDIF+1
Function Call: READ
  • Variable: %X
  • Timeout: 99
  • Line Location: DEVOK+16

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("EOFF" PRGMODE+3
^%ZOSF("EON" PRGMODE+3
^%ZOSF("PROD" UCI+1, JOBPAR+8, GETENV+1
^%ZOSF("TMP" TEMP+2
^%ZOSF("VOL" AVJ+2, PRGMODE+2
^%ZTSCH("LOGRSRC" LOGRSRC+1
^VA(200 - [#200] PRGMODE+2
^XTV(8989.3 - [#8989.3] AVJ+2, TEMP+2, GETPEER+4
^XUTL("XUSYS" ACTJ+1, ACTJ+11*, SETENV+1*

Label References

Name Line Occurrences
$$ACTJ AVJ+3
$$RETURN GETENV+1
$$TEMP ACTJ+4, DEVOK+12, RETURN+3
UCI PRGMODE+5

Naked Globals

Name Field # of Occurrence
^("NM" SETENV+1*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% ORDER+1~, ORDER+2*, ORDER+6
%COMMAND RETURN~
%DIRECT STRIPCR~
%FILE ACTJ+3~, ACTJ+4*, ACTJ+7, ACTJ+8, ACTJ+9, JOBPAR+1~*, JOBPAR+4, JOBPAR+5, JOBPAR+6, DEVOK+12~*
DEVOK+15, DEVOK+19, RETURN+3~*, RETURN+5
%HOST GETENV+1~*, GETENV+2
%I ACTJ+3~, ACTJ+6*, ACTJ+8, JOBPAR+1~, JOBPAR+3*, JOBPAR+5, DEVOK+14~*, DEVOK+18, DEVOPN+2~, DEVOPN+4*
DEVOPN+5*
%V GETENV+1~*, GETENV+2
%VALUE RETURN+2~*, RETURN+5*, RETURN+7
%X DEVOK+14~, DEVOK+16*, DEVOK+17, DEVOK+20, DEVOK+21*, DEVOK+22*, DEVOPN+2~, DEVOPN+4*, DEVOPN+5*
%Y DEVOK+14~, DEVOK+16*, DEVOK+17, DEVOPN+2~
%Y( DEVOK+17*, DEVOK+22
%Y("D" DEVOPN+5
%ZE EC+1~, EC+2*, EC+3*, EC+4
>> %ZH0 ZHDIF+1
>> %ZH1 ZHDIF+1
>> DELETE ACTJ+9, JOBPAR+6, DEVOK+19, RETURN+5
DUZ PRGMODE+2, PRGMODE+4
>> ESCAPE NOPASS+1
IO("GTM-IP" GETPEER+3
IO("IP" GETPEER+3
J AVJ+1~, AVJ+2*, AVJ+3
J1 SID+1~
J1(1 SID+2*, SID+4
J1(2 SID+3*, SID+4
>> NOESCAPE PASSALL+1
>> NOPASTHRU NOPASS+1
>> NOTERMINATOR PASSALL+1
OPT LOGRSRC~, LOGRSRC+3
>> PASTHRU PASSALL+1
PEER GETPEER+1~, GETPEER+2*, GETPEER+3*, GETPEER+4*, GETPEER+5
STATUS LOGRSRC~, LOGRSRC+3
T SID+1~*, SID+4
>> TERMINATOR NOPASS+1, SETTRM+1
TYPE SHARELIC~, LOGRSRC~, LOGRSRC+3
V AVJ+1~, AVJ+2*
X PRGMODE+1~, PRGMODE+3*, PRGMODE+4!, UCICHECK~, UCICHECK+1, JOBPAR+8, BAUD*, DOLRO+4, ORDER+6, PARSIZ+1*
, VERSION~, VERSION+1, SETNM~, SETENV+1, SETTRM~, SETTRM+1
>> X1 DEVOK+8
XMB PRGMODE+4~*!
XMB(1 PRGMODE+4*
XMB(2 PRGMODE+4*
XMTEXT PRGMODE+4~
XMY PRGMODE+4~
XUCI PRGMODE+1~, PRGMODE+5*
XUSLNT PRGMODE+1~
>> XUVOL PRGMODE+2*
Y ACTJ+3~, ACTJ+8*, ACTJ+10*, ACTJ+11*, ACTJ+12, PRGMODE+5, UCI+1*, JOBPAR+5*, JOBPAR+7*, JOBPAR+8*
JOBPAR+9*, PRIORITY+1!, DOLRO+4*, ORDER+2*, ORDER+3, ORDER+6*, NOLOG+1*, GETENV+2*, DEVOK+9*, DEVOK+20*
DEVOK+21*, DEVOK+22*, DEVOPN+4*, DEVOPN+5*
ZTPAC PRGMODE+2*, PRGMODE+3, PRGMODE+4!

Marked Items

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