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 |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: BMXMON

Package: M Transfer

Routine: BMXMON


Information

BMXMON ; IHS/OIT/HMW - BMXNet MONITOR ; 04 Jun 2010 3:10 PM

Source Information

Source file <BMXMON.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
Kernel 6 HOME^%ZIS  (CALL,CLOSE)^%ZISTCP  ($$EC,$$LGR,GETENV,SETNM)^%ZOSV  ^%ZTER  ^XUSCLEAN  LOGOUT^XUSRB  
M Transfer 3 CALLP^BMXMBRK  UNREGALL^BMXMEVN  SETUP^BMXMSEC  
VA Fileman 2 EN^DDIOL  DT^DICRW  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
PCC New Encounter Form 2 VENPCCQ8  VENPCCQX  
M Transfer 1 BMXRPC10  

Entry Points

Name Comments DBIA/ICR reference
SND ; -- send data for all, Let WRITE sort it out
CHPRN(N) ;Change process name to N.
SNDERR ;send error information
RELOAD
MARKER(BMXPORT,BMXMODE) ;Set/Test/Clear Problem Marker, BMXMODE=0 is a function
WRITE(BMXSTR) ;Write a data string
CKSTAT(OUT,IN) ; EP - RPC: BMX CONNECT STATUS ; CONFIRMS THAT THAT A VALID PROCESS HAS BEEN SPAWNED BY BMXMON
SESSMAIN ;
STRTALL ;EP
STOP(BMXPORT,VB) ;EP Stop monitor on BMXPORT
MON(BMXPORT,NS,IS) ;Monitor port for connection & shutdown requests
RESTART ;EP
TIMEOUT ;Do this on MAIN loop timeout
MENU ;EP - ENTRY ACTION FROM BMXMENU OPTION
SESSION(BMXWIN) ;EP
SEMAPHOR(BMXTSKT,BMXACT) ;Lock/Unlock BMXMON semaphore
SESSRES ;EP - reentry point from trap
ETRAP ; -- on trapped error, send error info to client
STOPALL ;EP
STRT(BMXPORT,NS,IS,VB) ;EP

External References

Name Field # of Occurrence
HOME^%ZIS STOP+5
CALL^%ZISTCP STOP+19
CLOSE^%ZISTCP STOP+28
$$EC^%ZOSV ETRAP+4
$$LGR^%ZOSV ETRAP+6
GETENV^%ZOSV SEMAPHOR+3
SETNM^%ZOSV CHPRN+1
^%ZTER ETRAP+8
CALLP^BMXMBRK SESSMAIN+21
UNREGALL^BMXMEVN SESSRES+4, SESSMAIN+28
SETUP^BMXMSEC SESSMAIN+2
EN^DDIOL STOP+10, STOP+17, STOP+21, STOP+29, STOP+30
DT^DICRW SESSRES+3
^XUSCLEAN ETRAP+9
LOGOUT^XUSRB SESSRES+8, ETRAP+9

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: "{BMX}00011TCPshutdown",!
  • Line Location: STOP+26
Function Call: READ
  • Timeout: 5
  • Variable: X#3
  • Line Location: STOP+27
Function Call: READ
  • Timeout: BMXDTIME
  • Variable: BMXACT#5
  • Line Location: RELOAD+7
Function Call: READ
  • Timeout: BMXDTIME
  • Variable: BMXACT#5
  • Line Location: RELOAD+10
Function Call: READ
  • Timeout: BMXDTIME
  • Variable: BMXACT#BMXLEN
  • Line Location: RELOAD+12
Function Call: WRITE
  • Prompt: "ack",!
  • Line Location: RELOAD+25
Function Call: READ
  • Timeout: BMXDTIME
  • Variable: BMXTBUF#11
  • Line Location: SESSMAIN+6
Function Call: WRITE
  • Prompt: BMXTBUF,$C(4),!
  • Line Location: SESSMAIN+10
Function Call: READ
  • Timeout: BMXDTIME(1)
  • Variable: BMXTBUF#4
  • Line Location: SESSMAIN+12
Function Call: READ
  • Timeout: BMXDTIME(1)
  • Variable: BMXTBUF#BMXPLEN
  • Line Location: SESSMAIN+14
Function Call: WRITE
  • Prompt: "accept",$C(4),!
  • Line Location: SESSMAIN+16
Function Call: WRITE
  • Prompt: "#BYE#",$C(4),!
  • Line Location: SESSMAIN+19
Function Call: WRITE
  • Prompt: *-3
  • Line Location: SESSMAIN+27
Function Call: WRITE
  • Prompt: $C($L(X))_X
  • Line Location: SNDERR+4
Function Call: WRITE
  • Prompt: *-3
  • Line Location: SNDERR+4
Function Call: WRITE
  • Prompt: $C($L(X))_X
  • Line Location: SNDERR+6
Function Call: WRITE
  • Prompt: *-3
  • Line Location: SNDERR+6
Function Call: WRITE
  • Prompt: *-3
  • Line Location: WRITE+2
Function Call: WRITE
  • Prompt: BMXSTR
  • Line Location: WRITE+2
Function Call: WRITE
  • Prompt: *-3
  • Line Location: WRITE+4
Function Call: WRITE
  • Prompt: $E(BMXSTR,1,510),*-3
  • Line Location: WRITE+5
Function Call: WRITE
  • Prompt: *-3
  • Line Location: ETRAP+11
Function Call: WRITE
  • Prompt: !
  • Line Location: MENU+24
Function Call: WRITE
  • Prompt: !,"BMXNet Version: ",BMXVER
  • Line Location: MENU+25
Function Call: WRITE
  • Prompt: !,"Location: ",BMXLOC
  • Line Location: MENU+26
Routine Call
  • %ZIS
  • Line Location:
    • STOP+5

Used in RPC

RPC Name Call Tags
BMX CONNECT STATUS CKSTAT

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("UCI" STRT+19, STOP+11, MON+14, MARKER+1
^%ZOSF("UCICHECK" RELOAD+19
^BMX( MARKER+2, MARKER+3*, MARKER+4, MARKER+5!, MARKER+6
^BMXMON - [#90093.5] STRTALL+4, STRTALL+5, STOPALL+4, STOPALL+5
^BMXMON("BMXMON" SEMAPHOR+5, SEMAPHOR+7
^BMXTMP("CONNECT STATUS" RELOAD+23*, CKSTAT+4, CKSTAT+5, CKSTAT+6, CKSTAT+7, CKSTAT+8!
^DIC(4 - [#4] MENU+20
^DIC(9.4 - [#9.4] MENU+5, MENU+6, MENU+11, MENU+12, MENU+13

Label References

Name Line Occurrences
$$MARKER STRT+30, STRT+31
$$SEMAPHOR STRT+12, STRT+13, STOP+15, STOP+16, STOP+20, MON+8, RELOAD+27
CHPRN STOP+32
MARKER STRT+15, STRT+34, MON+10
RELOAD RELOAD+26
SESSMAIN SESSRES+5
SND SESSMAIN+26, TIMEOUT+4
SNDERR SESSMAIN+10, SESSMAIN+16, SESSMAIN+19, SESSMAIN+25, TIMEOUT+1, TIMEOUT+4, ETRAP+11
STOP STOPALL+8
STOPALL RESTART+4
STRT STRTALL+10
STRTALL RESTART+5
TIMEOUT SESSMAIN+6
WRITE SESSMAIN+27, SND+4, SND+6, SND+9, SND+12, SND+15, SND+19, SND+21, TIMEOUT+1, TIMEOUT+4
, ETRAP+11

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% STRT+13*, STRT+27*, STRT+30*, STOP+16*, STOP+20*, RELOAD+14~, RELOAD+27*, MARKER+1~*, MARKER+4*, MARKER+7
BMX MENU+2~, MENU+12*, MENU+13
BMXACT MON+4~, RELOAD+7*, RELOAD+8, RELOAD+9, RELOAD+10*, RELOAD+11, RELOAD+12*, RELOAD+13, RELOAD+15, RELOAD+25
, SEMAPHOR~, SEMAPHOR+4
BMXARY SESSRES+9!, SESSMAIN+18!
BMXDEV MON+4~, MON+22*, RELOAD, RELOAD+1, RELOAD+5
BMXDTIME MON+4~, MON+5*, RELOAD+7, RELOAD+10, RELOAD+12, SESSMAIN+6
BMXDTIME(1 RELOAD+4*, SESSMAIN+12, SESSMAIN+14
BMXERC ETRAP+1~, ETRAP+4*, ETRAP+5, ETRAP+9
BMXERR ETRAP+1~, ETRAP+5*, ETRAP+7*, ETRAP+11
>> BMXERROR SNDERR+5, SNDERR+7*
>> BMXHTYPE SESSMAIN+9*, SESSMAIN+10, SESSMAIN+17
BMXIEN STRTALL+3~, STRTALL+4*, STRTALL+5, STOPALL+3~, STOPALL+4*, STOPALL+5
BMXLEN MON+4~, RELOAD+11*, RELOAD+12
BMXLGR ETRAP+1~, ETRAP+6*, ETRAP+7
BMXLOC MENU+18~, MENU+19*, MENU+20*, MENU+21*, MENU+26
BMXMODE MARKER~, MARKER+3, MARKER+4, MARKER+5, MARKER+7
>> BMXN MENU+5*, MENU+6*, MENU+7*, MENU+11, MENU+12
>> BMXNOD STRTALL+5*, STRTALL+6, STRTALL+7, STRTALL+8, STRTALL+9, STRTALL+10, STOPALL+5*, STOPALL+6, STOPALL+7
BMXNS STRT+6~, STRT+20*, STRTALL+9*, STRTALL+10, MON+4~, MON+15*, MON+16*, RELOAD+17, RELOAD+19
BMXNSJ RELOAD+14~, RELOAD+15*, RELOAD+16*, RELOAD+17*, RELOAD+18, RELOAD+19*
>> BMXPLEN SESSMAIN+13*, SESSMAIN+14
BMXPORT STRT~, STRT+12, STRT+13, STRT+15, STRT+30, STRT+31, STRT+33, STRT+34, STOPALL+3~, STOPALL+7*
, STOPALL+8, STOP~, STOP+13*, STOP+15, STOP+16, STOP+19, STOP+20, MON~, MON+8, MON+10
, MON+22, RELOAD+27, MARKER~, MARKER+2, MARKER+3, MARKER+4, MARKER+5, MARKER+6
>> BMXPTYPE SESSMAIN+22*, SND+6, SND+8, SND+11, SND+14, SND+19, SND+21, TIMEOUT+3*
BMXQUIT MON+4~, MON+5*, RELOAD+6, RELOAD+8*, RELOAD+9*, RELOAD+25*, RELOAD+26*
BMXR SESSRES+9!, SESSMAIN+18!, SESSMAIN+21, SND+6*, SND+15, SND+17, SND+19*
BMXR( SND+9, SND+12, SND+21
BMXR(0 TIMEOUT+3*
BMXR(1 TIMEOUT+3*
BMXR(2 TIMEOUT+3*
BMXR(3 TIMEOUT+3*
>> BMXSEC SNDERR+3, SNDERR+7*, SND+4
BMXSTR WRITE~, WRITE+2, WRITE+5*
BMXTBUF SESSMAIN+1~, SESSMAIN+5, SESSMAIN+6*, SESSMAIN+7, SESSMAIN+8, SESSMAIN+9, SESSMAIN+10*, SESSMAIN+11, SESSMAIN+12*, SESSMAIN+13
, SESSMAIN+14*, SESSMAIN+15, SESSMAIN+19, SESSMAIN+21, SESSMAIN+23
>> BMXTLEN SESSMAIN+11*, SESSMAIN+20*
BMXTSKT SEMAPHOR~, SEMAPHOR+5, SEMAPHOR+7
>> BMXVB STRT+9*, STRT+12, STRT+26, STRT+28, STRT+32, STRT+33, STRT+35, STOP+8*, STOP+10, STOP+17
, STOP+21, STOP+29, STOP+30
BMXVER MENU+2~, MENU+10*, MENU+13*, MENU+14*, MENU+15*, MENU+25
BMXWIN STRT+6~, STRT+23*, STRTALL+8*, STRTALL+10, MON+4~, MON+19*, SESSION~
>> BMXWRAP SND+12, SND+16
DEV STOP+4~
>> DIQUIET SESSRES+3*
DUZ SESSRES+8, TIMEOUT+1, ETRAP+9
DUZ(2 MENU+20
>> HWMP SESSMAIN+7*
I SND+1~, SND+9*, SND+12*, SND+15*, SND+16*, SND+21*
IN CKSTAT~
IO STOP+22
IP STOP+4~, STOP+12*, MARKER+1~*, MARKER+2, MARKER+3, MARKER+4, MARKER+5, MARKER+6
IS STRT~, STRT+23, MON~, MON+19
JOBID CKSTAT+1~, CKSTAT+3*, CKSTAT+4, CKSTAT+5, CKSTAT+6, CKSTAT+7, CKSTAT+8, CKSTAT+10
>> L SESSMAIN+11*, SESSMAIN+12
N CHPRN~, CHPRN+1
NS STRT~, STRT+20, MON~, MON+15, MON+16
OUT CKSTAT~, CKSTAT+10*
>> POP STOP+19
PORT CKSTAT+1~, CKSTAT+2*, CKSTAT+10
REF STOP+4~, STOP+11*, MARKER+1~*, MARKER+2, MARKER+3, MARKER+4, MARKER+5, MARKER+6
RESULT SEMAPHOR+1~, SEMAPHOR+2*, SEMAPHOR+6*, SEMAPHOR+8
>> RET SESSMAIN+2
STATUS RELOAD+20*, RELOAD+23, CKSTAT+1~, CKSTAT+7*, CKSTAT+9*, CKSTAT+10
T SND+1~, SND+15*, SND+16
U STRTALL+7, STRTALL+8, STRTALL+9, STRTALL+10, STOP+5*, SESSRES+3*, SESSMAIN+3*, SESSMAIN+15, SEMAPHOR+2*, SEMAPHOR+5
, SEMAPHOR+7
VB STRT~, STRT+9, STOP~, STOP+8
X STOP+4~, STOP+23*, STOP+24*, STOP+25*, STOP+27*, STOP+29, RELOAD+14~, RELOAD+18*, SNDERR+2~, SNDERR+3*
, SNDERR+4, SNDERR+5*, SNDERR+6
Y STRT+6~, STRT+20, STOP+11, MON+15, RELOAD+14~, RELOAD+19, RELOAD+20, SEMAPHOR+5, SEMAPHOR+7, MARKER+1~
ZCHILD RELOAD+14~, RELOAD+23

Marked Items

Name Field # of Occurrence
$T( STOP+23
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All