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

Package: IHS Generic Interface System

Routine: INHVCRA1


Information

INHVCRA1 ;KAC,JKB ; 7 Mar 96 14:11; Application Server (ApS) Cont'd

Source Information

Source file <INHVCRA1.m>

Call Graph

Call Graph Total: 9

Package Total Call Graph
IHS Generic Interface System 4 LOAD^INHE  TXTPTR^INHU1  WAIT^INHUVUT  PARSE^INHUVUT1  
Kernel 4 ^%ZIS  ^%ZISC  $$NOW^%ZTFDT  $$OPENSEQ^%ZTFS1  
Uncategorized 1 (OPEN,RECV)^%INET  

Caller Graph

Caller Graph Total: 22

Package Total Caller Graph
IHS Generic Interface System 22 INHUSEN6  INHUVUT  INHUVUT2  INHUVUT3  INHUVUTX  INHVCRA  INHVCRAB  INHVCRAC  
INHVCRAP  INHVCRL  INHVCRL1  INHVTA3M  INHVTAPR  INHVTAPT  INHVTAPU  INHVTAX1  
INHVTMT  INHVTMT1  INHVTMT2  INHVTMT3  INHVTMT4  INHVTMT5  

Entry Points

Name Comments DBIA/ICR reference
OPEN(INCHNL,INMEM,INADDR,INPORT,INIP) ; open a TCP socket
; Input : INCHNL (req) = will return channel of created socket or error
; msg if open fails, PBR
; INMEM ( ? ) = ?? - may be unnecessary, PBR
; INADDR (opt) = IP address of remote server to connect to as a
; client, or null to open as a server; if null,
; and PBR, will return address of client that
; connects
; INPORT (req) = IP port to open (client or server)
; INIP (req) = array of backround proc params, PBR
; also requires INBPN
; Output: void
RECEIVE(INV,INCHNL,INIP,INERR,INMEM) ; read socket
; Input : INV (req) = location to store message, PBR
; INCHNL (req) = socket
; INIP (req) = array of backround proc params, PBR
; INERR (opt) = error array, PBR
; INMEM ( ? ) = ?? - may be unnecessary, PBR
; also requires INBPN,U
; Output: 0=ok, 1=no response, 2=failure during receive, 3=fatal err
; init vars
DEBUG(L) ; set debug params for a BACKGROUND PROCESS
; Input : L (opt) = debug level; "" = look it up (def), 0 = turn it
; off, positive integer = set it
; also expects INBPN
; Output: void
; INDEBUG = Debug Level
; INDEBUGD = Log Location
; if debug level input is null, look it up
LOG(MSG,TYP,ACK) ; log BACKGROUND PROCESS activity and errors
; Input : MSG (req) = status/error/debug message; status msg must be a
; string, error/debug msg can be a string (PBV) or
; an array of strings (PBR)
; TYP (opt) = msg type: S=status(def), E=error, or integer
; corresponding to level of a debug msg
; ACK (opt) = boolean flag; set true only when logging a
; positive ack (sets piece 3 of run node = $H)
; INBPN,U (req)
; INDEBUG,INDEBUGD,INHSRVR (opt)
; Output: void
; INDEBUG,INDEBUGD if not set coming in
; if debug on, will write to debug log (file, device or global)
; Local : ENUM = INTERFACE ERROR ptr
; T = timestamp
; SRVR = server number or 0 if not a multiple background proc
LOGLOCI ; LOG LOCATION input transform (4004,9.02)
LOGLOCO ; LOG LOCATION output transform (4004,9.02)

External References

Name Field # of Occurrence
OPEN^%INET OPEN+13
RECV^%INET RECEIVE+14, RECEIVE+29
^%ZIS DEBUG+19
^%ZISC DEBUG+11
$$NOW^%ZTFDT LOG+21
$$OPENSEQ^%ZTFS1 LOGLOCI+3
LOAD^INHE LOG+28
TXTPTR^INHU1 LOGLOCI+4
WAIT^INHUVUT OPEN+13, RECEIVE+23
PARSE^INHUVUT1 RECEIVE+46

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,INBPN_U_SRVR_U_T_U_MSG(J)
  • Line Location: LOG+25
Routine Call
  • %ZIS
  • Line Location:
    • DEBUG+19

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZIS(1 - [#3.5] LOGLOCO+1, DEBUG+17
^INRHB("RUN" LOG+30*, LOG+31*
^INRHSITE(1 RECEIVE+11
^INTHPC - [#4004] DEBUG+8, DEBUG+13
^UTILITY("INDEBUG" LOG+23
^UTILITY("INREC" RECEIVE+37!

Label References

Name Line Occurrences
DEBUG LOG+16

Naked Globals

Name Field # of Occurrence
^( LOG+24*, LOG+30*, LOG+31*
^($J RECEIVE+37*
^(0 RECEIVE+11, LOGLOCO+1, DEBUG+17

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACK LOG~, LOG+30, LOG+31
AP RECEIVE+9~, RECEIVE+10*, RECEIVE+38*, RECEIVE+42
APREC RECEIVE+9~, RECEIVE+10*, RECEIVE+14, RECEIVE+27, RECEIVE+29, RECEIVE+31*, RECEIVE+33*, RECEIVE+35, RECEIVE+38
APREC(0 RECEIVE+16, RECEIVE+18, RECEIVE+20!, RECEIVE+40
ENUM LOG+28~
I LOG+23~*, LOG+24*
INADDR OPEN~, OPEN+13
>> INBPN OPEN+13, RECEIVE+23, LOG+23, LOG+25, LOG+28, LOG+30, LOG+31, DEBUG+8, DEBUG+13
INCHNL OPEN~, OPEN+13, OPEN+14*, RECEIVE~, RECEIVE+14, RECEIVE+29
>> INDEBUG LOG+16, LOG+19, DEBUG+8*, DEBUG+10
INDEBUGD LOG+22, LOG+25, DEBUG+11!, DEBUG+13*, DEBUG+15*, DEBUG+17*, DEBUG+19, DEBUG+20*
INDONE RECEIVE+9~, RECEIVE+10*, RECEIVE+13, RECEIVE+18*, RECEIVE+31*
INERR RECEIVE~, RECEIVE+40*, RECEIVE+42*, RECEIVE+44*
>> INHSRVR LOG+17
INI OPEN+12~, OPEN+13*
INIP OPEN~, RECEIVE~
INIP("OHNG" OPEN+13
INIP("OTRY" OPEN+13
INIP("RHNG" RECEIVE+23, RECEIVE+24
INIP("RTO" RECEIVE+14, RECEIVE+24
INIP("TMAX" RECEIVE+25
INMEM OPEN~, OPEN+13, RECEIVE~
INORESP RECEIVE+9~, RECEIVE+10*, RECEIVE+13, RECEIVE+23, RECEIVE+25*, RECEIVE+44
INPORT OPEN~, OPEN+13
INREC RECEIVE+9~, RECEIVE+10*, RECEIVE+37*, RECEIVE+38, RECEIVE+46
INSMIN RECEIVE+9~, RECEIVE+11*, RECEIVE+37
INSTOP OPEN+12~, OPEN+13, OPEN+14
INTTOT RECEIVE+9~, RECEIVE+10*, RECEIVE+24*, RECEIVE+25
INULRD RECEIVE+9~, RECEIVE+10*, RECEIVE+21*, RECEIVE+38*
INV RECEIVE~
IO DEBUG+20
>> IOP DEBUG+19*
J LOG+21~*, LOG+24*, LOG+25*
L DEBUG~, DEBUG+8
MSG LOG~, LOG+20, LOG+28*, LOG+30, LOG+31
MSG( LOG+24, LOG+25
MSG(1 LOG+20*
>> POP DEBUG+19
REC RECEIVE+9~
SRVR LOG+17~*, LOG+23, LOG+25, LOG+30
T LOG+21~*, LOG+24, LOG+25
TYP LOG~, LOG+17*, LOG+19, LOG+26, LOG+28
U RECEIVE+11, LOGLOCI+4, LOGLOCO+1, LOG+24, LOG+25, LOG+30, LOG+31, DEBUG+8, DEBUG+13, DEBUG+17
X RECEIVE+29~*, LOGLOCI+1*, LOGLOCI+2!, LOGLOCI+3, LOGLOCI+4*
>> Y LOGLOCI+4, LOGLOCO+1*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All