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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: INHB

Package: IHS Generic Interface System

Routine: INHB


Information

INHB ; cmi/flag/maw - JSH,KAC 18 Apr 97 11:03 Background Process Control ; [ 05/14/2002 1:31 PM ]

Source Information

Source file <INHB.m>

Call Graph

Call Graph Total: 8

Package Total Call Graph
Uncategorized 4 (CLOSE,OPEN)^%INET  $$DATEFMT^UTDT  $$REPLACE^UTIL  $$YN^UTSRD  
IHS Generic Interface System 2 EN^INHOV  $$CR^INHU1  
Kernel 1 ^%ZIS  
VA Fileman 1 ^DIC  

Caller Graph

Caller Graph Total: 10

Package Total Caller Graph
IHS Generic Interface System 6 INHOU  INHRPC  INHUSEQ2  INHUT2  INTENV1  INXHR03  
IHS Changes To Lab 1 BLRRLRES  
IHS Immunizations Interface 1 BYIMIMM6  
IHS Support HL7 Interfaces 1 BHLBCK  
Patient Care Component 1 APCD3M  

Entry Points

Name Comments DBIA/ICR reference
VER1 ;Come here when OS file has code to do the checking
VER(DA) ;Verify entry DA is running
A(DA) ;Startup a process
VERIFY ;Verify if all active processes are running
SRVRHNG(INBPN) ; $$function - If a receiver opens a TCP/IP socket, but no
; transmitter makes a connection, the receiver will hang on the
; OPEN^%INET command. As a result, signalling such a receiver
; background process to shutdown will fail since %INET retains
; control until a connection is received. The purpose of this
; routine is to supply the awaited connection, at which time the
; background process will receive control, detect the flag to
; shutdown and quit.
START1 ;Restart individual processes
STARTUP ;Full interface startup
OKTR(X) ;See if OK to run process #X
START ;Start all background processes
STOP ;Stop a process
LAST(I) ;Returns last run update date/time for process #I
STOPALL ;Stop all processes

External References

Name Field # of Occurrence
CLOSE^%INET SRVRHNG+36
OPEN^%INET SRVRHNG+34
^%ZIS STOPALL+2
^DIC START1+2, STOP+2
EN^INHOV VERIFY+1
$$CR^INHU1 VERIFY+6
$$DATEFMT^UTDT LAST+1
$$REPLACE^UTIL A+6
$$YN^UTSRD STOPALL+4, START+5, START1+3, STOP+6

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF,!
  • Line Location: STOPALL+3
Function Call: WRITE
  • Prompt: !!,"All processes have been signalled to quit."
  • Line Location: STOPALL+10
Function Call: WRITE
  • Prompt: !,CT_" processes were started."
  • Line Location: START+7
Function Call: WRITE
  • Prompt: !,*7,"No available partitions."
  • Line Location: START1+4
Function Call: WRITE
  • Prompt: !?5
  • Line Location: START1+5
Function Call: WRITE
  • Prompt: !?10,"Last run update: "_H
  • Condition for execution: H]""
  • Line Location: VERIFY+5
Function Call: WRITE
  • Prompt: !,$$CR^INHU1
  • Line Location: VERIFY+6
Function Call: WRITE
  • Prompt: !,"Process has been signaled to terminate."
  • Line Location: STOP+9
Routine Call
  • DIC
  • Line Location:
    • START1+2
    • STOP+2
Routine Call
  • %ZIS
  • Line Location:
    • STOPALL+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^INTHPC - [#4004] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("AVJ" START+1, START1+4
^INRHB("RUN" STOPALL+6!, A+7!, A+8, VER+3, VER+4, VER1+3, LAST+1, STOP+7!, SRVRHNG+26!
^INRHSITE(1 OKTR+2
^INTHOS(1 A+6, VER+2, VER1+2
^INTHPC - [#4004] STOPALL+9, START+4, OKTR+3, OKTR+4, VER1+1, VERIFY+5, STOP+5, SRVRHNG+24, SRVRHNG+25, SRVRHNG+31
, SRVRHNG+32
^INTHPC("ACT" STOPALL+9, START+3, VERIFY+5

Label References

Name Line Occurrences
$$A START+4, START1+5
$$LAST VERIFY+5
$$OKTR A+5
$$SRVRHNG STOPALL+9, STOP+8
$$VER STOPALL+9, START+5, START1+3, VERIFY+5, STOP+4, STOP+8
START STARTUP+1
START1 START1+3, START1+7
VER1 VER+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %ZIS STOPALL+2*
AVJ START+1~*, START+4
CT START+1~, START+2*, START+4*, START+7
DA START+1~, START+2*, START+3*, START+4, START+5, A~, A+5, A+6, A+7, A+8
, VER~, VER+3, VER+4, VER1+1, VER1+3
DA(0 START+4*, START+5
DIC START1+1~, START1+2*, STOP+1~, STOP+2*
DIC("A" START1+2*, STOP+2*
DIC("S" START1+2*, STOP+2*
DIC(0 START1+2*, STOP+2*
H VERIFY+4~, VERIFY+5*, LAST+1~*
I START+1~, A+7*, VERIFY+4~, VERIFY+5*, LAST~, LAST+1
INBPN SRVRHNG~, SRVRHNG+24, SRVRHNG+25, SRVRHNG+26, SRVRHNG+31, SRVRHNG+32
INCHNL SRVRHNG+22~, SRVRHNG+34, SRVRHNG+36
INDA STOPALL+1~, STOPALL+8*, STOPALL+9*, START1+1~, START1+3*, START1+5, STOP+1~, STOP+3*, STOP+4, STOP+5
, STOP+7, STOP+8
INERR A+4~, A+5*
INMEM SRVRHNG+22~, SRVRHNG+34
INPADIE SRVRHNG+22~, SRVRHNG+30*, SRVRHNG+31*, SRVRHNG+32
INPORT SRVRHNG+22~, SRVRHNG+32*, SRVRHNG+34
INRUN STOP+1~, STOP+4*, STOP+6
INSRVR STOP+1~, STOP+5*, STOP+6, STOP+8
IOF STOPALL+2, STOPALL+3
>> IOP STOPALL+2*
JOB A+6~*, A+7
OK VERIFY+4~, VERIFY+5*
S VERIFY+4~, VERIFY+5*
U STOPALL+9, START+1*, START+4, VERIFY+4*, STOP+5, SRVRHNG+24, SRVRHNG+32
VER START+1~, START+4*, START+5*
X STOPALL+1~, STOPALL+4*, STOPALL+6*, STOPALL+9*, START+4*, START+5*, OKTR~, OKTR+3, OKTR+4, START1+1~
, START1+3*, START1+5*, START1+6, VER1+1~*, VER1+2, STOP+1~, STOP+6*, STOP+7*, STOP+8*
Y START+4, START1+1~, START1+2, START1+3, START1+4, STOP+1~, STOP+2, STOP+3
>> ZTSK START+4, START+5, START+6, A+5, A+7
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All