HLCSTCP ;SFIRMFO/TNV-ALB/JFP,PKE - (TCP/IP) MLLP ;08/08/2011 14:29
Source file <HLCSTCP.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
SERVER(HLDP) | ; single server using Taskman
|
|
SERVERS(HLDP) | ; Multi-threaded server using Taskman
|
|
MSM | ;MSM entry point, called from User-Defined Services
|
|
LISTEN | ;
|
|
DCOPEN(HLDP) | ;open direct connect - called from HLMA2
|
|
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")),"^") |
|
ST1 | ;record startup in 870 for single server
|
|
MON(Y) | ;Display current state & check for shutdown
|
|
UPDT(Y) | ;update job count for multiple servers,X=1 increment
|
|
STOP() | ;stop flag set
|
|
LLCNT(DP,Y,Z) | ;update Logical Link counters
|
|
SDFLD | ; set Shutdown? field to yes
|
|
EXITS(Y) | ; shutdown and clean up the listener process for either
; single-threaded or multi-threaded |
|
EXITM | ;Multiple service shutdown and clean up
; shutdown and clean up a connection spawned by the listener ; process for a multi-threaded listener |
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 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
FileNo | Call Tags |
---|---|
^HLCS(870 - [#870] | GETS^DIQ |
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 |
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 |
Name | Field # of Occurrence |
---|---|
^( | LLCNT+18* |
>> | 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 |