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 |  All
Print Page as PDF
Routine: XWBCSAV

Package: RPC Broker

Routine: XWBCSAV


Information

XWBTCPC ;ISC-SF/EG/VYD - TCP/IP PROCESS HANDLER ;8/28/97 16:24

Source Information

Source file <XWBCSAV.m>

Call Graph

Call Graph Total: 9

Package Total Call Graph
Kernel 6 ^%ZIS  CALL^%ZISTCP  (CLOSE,USE)^%ZISUTL  ($$EC,$$LGR,SETNM,T0,T1)^%ZOSV  (,$$NEWERR)^%ZTER  LOGOUT^XUSRB  
RPC Broker 2 CALLP^XWBBRK  $$RTRNFMT^XWBLIB  
VA Fileman 1 DT^DICRW  

Entry Points

Name Comments DBIA/ICR reference
SND ; -- Send data (all except DSM)
STYPE(X,WRAP) ;For backward compatability only
CHPRN(N) ;change process name
ETRAP ; -- on trapped error, send error info to client
MSM ;entry point for MSERVER service - used by MSM
SNDERR ;send error information
SNDDSM ; -- send data for DSM (requires buffer flush (!) every 509 chars)
MAIN ; -- main message processing loop
EN(XWBTIP,XWBTSKT,DUZ,XWBVER,XWBCLMAN) ; -- Main entry point
RESTART
BREAD(L) ;read tcp buffer, L is length

External References

Name Field # of Occurrence
^%ZIS EN+23
CALL^%ZISTCP EN+17
CLOSE^%ZISUTL RESTART+10
USE^%ZISUTL RESTART+10
$$EC^%ZOSV ETRAP+2
$$LGR^%ZOSV ETRAP+2
SETNM^%ZOSV CHPRN+2
T0^%ZOSV MAIN+24
T1^%ZOSV MAIN+29
^%ZTER ETRAP+7
$$NEWERR^%ZTER EN+8, RESTART, RESTART+5, ETRAP+4, ETRAP+13
DT^DICRW RESTART+2
LOGOUT^XUSRB RESTART+7, ETRAP+12
CALLP^XWBBRK MAIN+19
$$RTRNFMT^XWBLIB STYPE+1, STYPE+2

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Timeout: 3600
  • Variable: LEN#11
  • Line Location: MSM+3
Function Call: WRITE
  • Prompt: "RPC broker disconnect!",!
  • Line Location: MSM+4
Function Call: READ
  • Timeout: 60
  • Variable: MSG#LEN
  • Line Location: MSM+13
Function Call: WRITE
  • Prompt: "accept",$C(4),!
  • Line Location: MSM+15
Function Call: WRITE
  • Prompt: "accept",$C(4),!
  • Line Location: MSM+19
Function Call: WRITE
  • Prompt: /SOCKET(XWBTIP,XWBTSKT)
  • Line Location: EN+14
Function Call: READ
  • Timeout: 36000
  • Variable: XWBTBUF#11
  • Line Location: MAIN+5
Function Call: WRITE
  • Prompt: XWBTBUF,$C(4),!
  • Line Location: MAIN+5
Function Call: WRITE
  • Prompt: XWBTBUF,$C(4),!
  • Line Location: MAIN+7
Function Call: READ
  • Timeout: 60
  • Variable: L#1
  • Line Location: MAIN+9
Function Call: READ
  • Timeout: 60
  • Variable: XWBAPVER#L
  • Line Location: MAIN+9
Function Call: READ
  • Timeout: 60
  • Variable: XWBTBUF#4
  • Line Location: MAIN+10
Function Call: WRITE
  • Prompt: "accept",$C(4),!
  • Line Location: MAIN+14
Function Call: WRITE
  • Prompt: "#BYE#",$C(4),!
  • Line Location: MAIN+17
Function Call: WRITE
  • Prompt: $C(4),!
  • Line Location: MAIN+28
Function Call: WRITE
  • Prompt: $C($L(X))_X
  • Line Location: SNDERR+4
Function Call: WRITE
  • Prompt: !
  • Condition for execution: ($X+$L(X)+1)>512
  • Line Location: SNDERR+4
Function Call: WRITE
  • Prompt: $C($L(X))_X
  • Line Location: SNDERR+6
Function Call: WRITE
  • Prompt: !
  • Condition for execution: ($X+$L(X)+1)>512
  • Line Location: SNDERR+6
Function Call: WRITE
  • Prompt: ""
  • Line Location: SND+4
Function Call: WRITE
  • Prompt: XWBR
  • Line Location: SND+6
Function Call: WRITE
  • Prompt: XWBR(I),$C(13,10)
  • Line Location: SND+9
Function Call: WRITE
  • Prompt: XWBR(I)
  • Line Location: SND+12
Function Call: WRITE
  • Prompt: $C(13,10)
  • Condition for execution: XWBWRAP
  • Line Location: SND+12
Function Call: WRITE
  • Prompt: @I
  • Line Location: SND+15
Function Call: WRITE
  • Prompt: $C(13,10)
  • Condition for execution: XWBWRAP
  • Line Location: SND+15
Function Call: WRITE
  • Prompt: XWBR
  • Line Location: SND+18
Function Call: WRITE
  • Prompt: $C($L(XWBR(I))),XWBR(I)
  • Line Location: SND+20
Function Call: WRITE
  • Prompt: ""
  • Line Location: SNDDSM+4
Function Call: WRITE
  • Prompt: XWBR
  • Line Location: SNDDSM+6
Function Call: WRITE
  • Prompt: !
  • Condition for execution: ($X+$L(XWBR(I)))>509
  • Line Location: SNDDSM+9
Function Call: WRITE
  • Prompt: XWBR(I),$C(13,10)
  • Line Location: SNDDSM+9
Function Call: WRITE
  • Prompt: !
  • Condition for execution: ($X+$L(XWBR(I)))>509
  • Line Location: SNDDSM+12
Function Call: WRITE
  • Prompt: XWBR(I)
  • Line Location: SNDDSM+12
Function Call: WRITE
  • Prompt: $C(13,10)
  • Condition for execution: XWBWRAP
  • Line Location: SNDDSM+12
Function Call: WRITE
  • Prompt: @I
  • Condition for execution: $D(@I)>10
  • Line Location: SNDDSM+15
Function Call: WRITE
  • Prompt: XWBR
  • Line Location: SNDDSM+18
Function Call: WRITE
  • Prompt: !
  • Condition for execution: ($X+$L(XWBR(I)))>509
  • Line Location: SNDDSM+20
Function Call: WRITE
  • Prompt: $C($L(XWBR(I))),XWBR(I)
  • Line Location: SNDDSM+20
Function Call: WRITE
  • Prompt: XWBERR,!
  • Line Location: ETRAP+9
Function Call: WRITE
  • Prompt: XWBERR,!
  • Line Location: ETRAP+11
Routine Call
  • %ZIS
  • Line Location:
    • EN+23

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("OS" EN+7
^%ZOSF("TRAP" EN+9, RESTART+1, RESTART+6, ETRAP+5

Label References

Name Line Occurrences
CHPRN EN+25
EN MSM+17
MAIN RESTART+3
RESTART ETRAP+13
SND MAIN+26
SNDDSM MAIN+25
SNDERR MSM+15, MSM+19, MAIN+5, MAIN+7, MAIN+14, MAIN+17, MAIN+23, ETRAP+9, ETRAP+11

Naked Globals

Name Field # of Occurrence
^("OS" EN+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> DIQUIET RESTART+2*
DONE BREAD+1~, BREAD+2*, BREAD+5, BREAD+6*
DUZ EN~, RESTART+7, ETRAP+12
E BREAD+1~, BREAD+2*, BREAD+4*, BREAD+5, BREAD+6, BREAD+7, BREAD+8*, BREAD+9
I SND+1~, SND+9*, SND+12*, SND+15*, SND+20*, SNDDSM+1~, SNDDSM+9*, SNDDSM+12*, SNDDSM+15*, SNDDSM+20*
IO EN+4~, EN+17, EN+22*, EN+23
IO(0 EN+17*, EN+22*
IOP EN+4~, EN+23*
IOST EN+22*
IOST(0 EN+22*
>> IOT EN+22*
L EN+4~, MAIN+9*, MAIN+10, BREAD~, BREAD+3, BREAD+5, BREAD+6, BREAD+7
LEN MSM+1~, MSM+3*, MSM+7, MSM+10*, MSM+11, MSM+13*
MSG MSM+1~, MSM+11*, MSM+13*, MSM+14, MSM+17, MSM+18
N CHPRN~, CHPRN+2
>> POP EN+17
T SND+1~, SND+15*, SNDDSM+1~, SNDDSM+15*
TYPE EN+1~, MAIN+6*, MAIN+7, MAIN+15
U RESTART+2*, MAIN+13
WRAP STYPE~, STYPE+1
X MSM+1~, MSM+8*, MSM+9, MSM+13*, MSM+17, EN+2~, EN+9*, RESTART+1*, RESTART+6*, SNDERR+2~
, SNDERR+3*, SNDERR+4, SNDERR+5*, SNDERR+6, ETRAP+5*, STYPE~, STYPE+1, STYPE+2, BREAD+1~, BREAD+3*
, BREAD+4, BREAD+7*, BREAD+8
>> XRT0 MAIN+29
XRTL EN+4~, EN+10!*, MAIN+24
>> XRTN MAIN+29*
XWB1 EN+2~
XWB2 EN+2~
XWBAPVER EN+4~, MAIN+2*, MAIN+9*
XWBARY RESTART+8!, MAIN+16!
XWBCLMAN EN~, EN+6*
XWBERR ETRAP+1~, ETRAP+2*, ETRAP+9, ETRAP+11, ETRAP+12
XWBERROR EN+3~, SNDERR+5, SNDERR+7*
XWBL EN+2~
XWBNULL EN+2~, EN+22*, EN+23*
XWBODEV EN+2~
>> XWBOS EN+7*, EN+10, EN+22, MAIN+25, MAIN+26, ETRAP+8, ETRAP+10
XWBPLEN EN+2~, MAIN+11*, MAIN+12
XWBPTYPE EN+2~, MAIN+20*, SND+6, SND+8, SND+11, SND+14, SND+18, SND+20, SNDDSM+6, SNDDSM+8
, SNDDSM+11, SNDDSM+14, SNDDSM+18, SNDDSM+20
XWBR RESTART+8!, MAIN+16!, MAIN+19, SND+6*, SND+15, SND+16, SND+18*, SNDDSM+6*, SNDDSM+15, SNDDSM+16
, SNDDSM+18*
XWBR( SND+9, SND+12, SND+20, SNDDSM+9, SNDDSM+12, SNDDSM+20
XWBSEC EN+3~, MAIN+27*, SNDERR+3, SND+4, SNDDSM+4
XWBTBUF EN+1~, MAIN+1, MAIN+5*, MAIN+6, MAIN+7*, MAIN+8, MAIN+9*, MAIN+10*, MAIN+11, MAIN+12*
, MAIN+13, MAIN+17, MAIN+19, MAIN+21
XWBTBUF1 EN+1~
XWBTDEV EN+1~, EN+17*, RESTART+3, RESTART+9, MAIN+22, ETRAP+6
XWBTIME EN+2~, EN+11*, MAIN+12, BREAD+3, BREAD+7
XWBTIP EN~, EN+17, EN+25
XWBTLEN EN+1~, MAIN+8*, MAIN+18*, ETRAP+9
XWBTOS EN+1~
XWBTRTN EN+1~
XWBTSKT EN~, EN+17, EN+25
XWBVER MSM+1~, MSM+2*, MSM+9*, MSM+17, EN~
XWBWRAP EN+1~, SND+12, SND+15, SNDDSM+12, SNDDSM+15
Y EN+2~
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All