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 |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: HLCSTCP

Package: Health Level Seven

Routine: HLCSTCP


Information

HLCSTCP ;SFIRMFO/TNV-ALB/JFP,PKE - (TCP/IP) MLLP ;08/08/2011 14:29

Source Information

Source file <HLCSTCP.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
Health Level Seven 5 $$PARAM^HLCS2  MON^HLCSTCP  ^HLCSTCP1  (,$$OPEN)^HLCSTCP2  FILE^HLDIE  
Kernel 5 ($$FLUSHCHR,CLOSE,LISTEN)^%ZISTCP  LISTEN^%ZISTCPS  ($$OS,SETNM)^%ZOSV  ^%ZTER  $$NOW^XLFDT  
VA FileMan 2 DT^DICRW  GETS^DIQ  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

Caller Graph

Caller Graph Total: 20

Package Total Caller Graph
Health Level Seven 20 HLCSAC  HLCSAS  HLCSAS1  HLCSGTM  HLCSIN  HLCSLM  HLCSLNCH  HLCSREP  
HLCSTCP  HLCSTCP1  HLCSTCP2  HLCSTCP3  HLCSTCP4  HLCSTCPA  HLMA2  HLTP3  
HLTP31  HLTP4  ^HLCS(869.1  ^HLMA  

Entry Points

Name Comments DBIA/ICR reference
EXITM ;Multiple service shutdown and clean up
; shutdown and clean up a connection spawned by the listener
; process for a multi-threaded listener
SDFLD ; set Shutdown? field to yes
UPDT(Y) ;update job count for multiple servers,X=1 increment
EXITS(Y) ; shutdown and clean up the listener process for either
; single-threaded or multi-threaded
INIT() ; Initialize Variables
; HLDP should be set to the IEN or name of Logical Link, file 870
; patch HL*1.6*157
; S HLOS=$P($G(^%ZOSF("OS")),"^")
MSM ;MSM entry point, called from User-Defined Services
SERVER(HLDP) ; single server using Taskman
ST1 ;record startup in 870 for single server
DCOPEN(HLDP) ;open direct connect - called from HLMA2
LLCNT(DP,Y,Z) ;update Logical Link counters
MON(Y) ;Display current state & check for shutdown
STOP() ;stop flag set
SERVERS(HLDP) ; Multi-threaded server using Taskman
LISTEN ;

External References

Name Field # of Occurrence
$$FLUSHCHR^%ZISTCP INIT+8
CLOSE^%ZISTCP SERVER+3
LISTEN^%ZISTCP HLCSTCP+47
LISTEN^%ZISTCPS HLCSTCP+57
$$OS^%ZOSV HLCSTCP+56, INIT+4, LLCNT+13
SETNM^%ZOSV HLCSTCP+24, HLCSTCP+40, LISTEN+11
^%ZTER LISTEN+2
DT^DICRW INIT+10
GETS^DIQ INIT+15
$$PARAM^HLCS2 INIT+55
MON^HLCSTCP HLCSTCP+10
^HLCSTCP1 SERVER+2, LISTEN+17
^HLCSTCP2 HLCSTCP+27
$$OPEN^HLCSTCP2 DCOPEN+3
FILE^HLDIE ST1+12, EXITS+8
$$NOW^XLFDT ST1+10, EXITS+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"IN State: ",Y
  • Line Location: MON+9

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^HLCS(870 - [#870] GETS^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("OS" HLCSTCP+52, LLCNT+12
^HLCS("HLTCPLINK" HLCSTCP+9, HLCSTCP+31, HLCSTCP+53, HLCSTCP+56, EXITS+12
^HLCS(870 - [#870] INIT+11, MON+5*, MON+15*, UPDT+6, UPDT+7, UPDT+9, UPDT+11*, UPDT+14*, UPDT+17, STOP+2
, STOP+3, STOP+4, LLCNT+4, LLCNT+17, LLCNT+18, LLCNT+19, LLCNT+21, SDFLD+3*, EXITS+3, EXITS+9

Label References

Name Line Occurrences
$$INIT HLCSTCP+14, SERVER+1, SERVERS+1, LISTEN+2, DCOPEN+1
$$STOP HLCSTCP+27, HLCSTCP+48, HLCSTCP+59, SERVER+3, MON+10
EXITM LISTEN+17
EXITS HLCSTCP+14, HLCSTCP+32, HLCSTCP+33, HLCSTCP+48, HLCSTCP+49, HLCSTCP+59, HLCSTCP+60, SERVER+1, SERVER+3, SERVERS+1
LISTEN SERVERS+2, MSM+4
MON HLCSTCP+30, HLCSTCP+47, HLCSTCP+57, SERVER+5
ST1 HLCSTCP+26, HLCSTCP+47, HLCSTCP+57
UPDT LISTEN+17, EXITM+3

Naked Globals

Name Field # of Occurrence
^( LLCNT+18*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DA INIT+5~, INIT+12*, INIT+15, INIT+19, INIT+20, INIT+22, INIT+24, INIT+26, INIT+28, INIT+30
, INIT+32, INIT+34, INIT+36, INIT+38, INIT+40, INIT+46
DIQUIET INIT+5~, INIT+9*
DP LLCNT~, LLCNT+4, LLCNT+17, LLCNT+18, LLCNT+19, LLCNT+21
DR INIT+5~, INIT+14*, INIT+15
HLCSOUT HLCSTCP+11~, HLCSTCP+27, HLCSTCP+29, HLCSTCP+32, SERVER+4, LISTEN+1~, EXITS+7
HLDBACK HLCSTCP+11~, LISTEN+1~, INIT+28*, INIT+50*
HLDBSIZE HLCSTCP+11~, LISTEN+1~, INIT+24*, INIT+53*
HLDP HLCSTCP+7, HLCSTCP+9, HLCSTCP+19, HLCSTCP+24, HLCSTCP+31, HLCSTCP+44, HLCSTCP+47, HLCSTCP+53, HLCSTCP+56, HLCSTCP+57
, SERVER~, SERVERS~, DCOPEN~, INIT+11*, INIT+12, ST1+6, MON+5, MON+15, UPDT+5, UPDT+6
, UPDT+7, UPDT+9, UPDT+11, UPDT+14, UPDT+17, STOP+2, STOP+3, STOP+4, SDFLD+1, SDFLD+3
, EXITS+3, EXITS+5, EXITS+9, EXITS+12
HLDP("$J" HLCSTCP+15*, HLCSTCP+16*, HLCSTCP+19*, HLCSTCP+20*, HLCSTCP+21*, HLCSTCP+24, HLCSTCP+25!, HLCSTCP+35*, HLCSTCP+36*, HLCSTCP+37*
, HLCSTCP+40, HLCSTCP+41!, LISTEN+4*, LISTEN+5*, LISTEN+6*, LISTEN+7*, LISTEN+8*, LISTEN+11, LISTEN+12!
HLDREAD HLCSTCP+11~, LISTEN+1~, INIT+26*, INIT+49*
HLDRETR HLCSTCP+11~, LISTEN+1~, INIT+19*, INIT+54*
HLDRETR("CLOSE" INIT+20*
HLDWAIT HLCSTCP+11~, LISTEN+1~, INIT+30*
HLJ ST1+3~, UPDT+1~, EXITS+2~
HLLSTN LISTEN+1~, LISTEN+15*, MON+2
HLOS HLCSTCP+11~, LISTEN+1~, INIT+4*
HLOSYS LLCNT+13~*, LLCNT+15
HLRETRA HLCSTCP+11~, LISTEN+1~, INIT+22*
HLTCPADD HLCSTCP+11~, LISTEN+1~, DCOPEN+2, INIT+32*
HLTCPCS HLCSTCP+11~, HLCSTCP+18, HLCSTCP+46, HLCSTCP+52, LISTEN+1~, INIT+36*, ST1+8, ST1+9
HLTCPLNK HLCSTCP+11~, LISTEN+1~, INIT+38*, ST1+8
HLTCPLNK("IOF" INIT+8*
HLTCPLNK("TIMEOUT" INIT+46*, INIT+60*
HLTCPORT HLCSTCP+11~, HLCSTCP+19, HLCSTCP+24, HLCSTCP+35, HLCSTCP+40, HLCSTCP+47, HLCSTCP+57, LISTEN+1~, LISTEN+6, LISTEN+11
, DCOPEN+2, INIT+34*
HLTCPRET HLCSTCP+11~, LISTEN+1~, INIT+40*, INIT+55*
>> HLTRACE MON+7
HLZRULE HLCSTCP+12~, HLCSTCP+44*, HLCSTCP+47, HLCSTCP+57
IO MSM+3*, MON+17
IO("C" SERVER+3*
IO(0 MSM+3*, MON+8
OS LLCNT+12~*, LLCNT+15
P LLCNT+5~, LLCNT+6*, LLCNT+17, LLCNT+18, LLCNT+19, LLCNT+21
TMP INIT+5~
TMP("DIERR" INIT+17
TMP(870 INIT+19, INIT+20, INIT+22, INIT+24, INIT+26, INIT+28, INIT+30, INIT+32, INIT+34, INIT+36
, INIT+38, INIT+40, INIT+46
U INIT+55, MON+5, MON+15, UPDT+9, UPDT+11, STOP+3, SDFLD+3
X INIT+5~, INIT+55*, ST1+3~, ST1+6*, ST1+7*, ST1+8, ST1+9, ST1+10, ST1+11, MON+8~
, MON+13*, MON+15, UPDT+1~, UPDT+9*, UPDT+10*, UPDT+11, STOP+1~, STOP+3*, STOP+5, LLCNT+5~
, LLCNT+18*, LLCNT+21*, EXITS+2~, EXITS+5*, EXITS+6, EXITS+7
Y INIT+5~, MON~, MON+5, MON+9, UPDT~, UPDT+11, LLCNT~, LLCNT+4, LLCNT+6, EXITS~
, EXITS+6
Z LLCNT~, LLCNT+18, LLCNT+21
>> ZTQUEUED EXITS+10, EXITM+4
>> ZTREQ EXITS+10*, EXITM+4*
>> ZTSK ST1+11
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 |  Naked Globals |  Local Variables |  All