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 |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: ABSPOSAB

Package: Pharmacy Point of Sale

Routine: ABSPOSAB


Information

ABSPOSAB ; IHS/FCS/DRS - various modem commands ; [ 06/28/2002 5:28 AM ]

Source Information

Source file <ABSPOSAB.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
Pharmacy Point of Sale 5 $$ZE^ABSPOS  ($$GET55FLD,$$IO,$$MODEMTYP,$$PORT,$$SERVER,$$TCP,COMMAND)^ABSPOSA  $$WAITSTR^ABSPOSAW  LOG^ABSPOSL  IMPOSS^ABSPOSUE  

Caller Graph

Caller Graph Total: 8

Package Total Caller Graph
Pharmacy Point of Sale 8 ABSPOSAA  ABSPOSAE  ABSPOSAM  ABSPOSAO  ABSPOSAQ  ABSPOSAW  ABSPOSQ3  ABSPOSUT  

Entry Points

Name Comments DBIA/ICR reference
HANGUP(DIALOUT) ;EP - this does nothing.
; The "W +" and timeout stuff wasn't effective.
; Just the CLOSE seems to take care of things okay at ANMC.
; This is probably the case at other sites, too.
MODEMSTS(DIALOUT) ;EP - return 0; or you can just DO it.
FLUSH(DIALOUT,TO) ;EP - return 0 if okay, nonzero if error
ECHOOFF(DIALOUT)
CLOSE(DIALOUT) ;EP - return 0 if okay, nonzero if error
DIAL(DIALOUT) ;EP - return 0 if okay, nonzero if error
OPEN(DIALOUT) ;EP - return 0 if okay, nonzero if error
; Error can be: 79 - $ZB=79, reproducible by telnet <server> <port>
; or perhaps just due to a few seconds while port resets from prev
; use.
LOGZE(WHERE)
PHONENUM(N)
ATZ(DIALOUT) ;EP - return 0 if okay, nonzero if error
; added FLUSH calls to give a little cushion around the ATZ command
INIMODEM(DIALOUT) ;EP - return 0 if okay, nonzero if error
FZE
HANGUP99 ;D CLOSE^ABSPOSAB(DIALOUT)

External References

Name Field # of Occurrence
$$ZE^ABSPOS LOGZE
$$GET55FLD^ABSPOSA OPEN+12, PHONENUM+8
$$IO^ABSPOSA OPEN+6, CLOSE+2, FLUSH+2, MODEMSTS+1, DIAL+1, HANGUP+4
$$MODEMTYP^ABSPOSA INIMODEM+2, MODEMSTS+2, DIAL+4
$$PORT^ABSPOSA OPEN+9
$$SERVER^ABSPOSA OPEN+9
$$TCP^ABSPOSA OPEN+8, OPEN+15
COMMAND^ABSPOSA ECHOOFF+3, ATZ+5, INIMODEM+4, MODEMSTS+8, DIAL+7
$$WAITSTR^ABSPOSAW ECHOOFF+4, ATZ+6, INIMODEM+6, DIAL+11
LOG^ABSPOSL OPEN+14, OPEN+45, CLOSE+3, FLUSH+12, FLUSH+14, LOGZE, ECHOOFF+2, ATZ+4, INIMODEM+5, MODEMSTS+7
, MODEMSTS+11, MODEMSTS+13, DIAL+6, DIAL+10, DIAL+12, DIAL+14
IMPOSS^ABSPOSUE HANGUP+19

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: /SOCKET(SERVER,PORT)
  • Line Location: OPEN+24
Function Call: READ
  • Timeout: TO
  • Variable: *X
  • Line Location: FLUSH+5
Function Call: READ
  • Timeout: TIMEOUT
  • Variable: X(I)
  • Line Location: MODEMSTS+10
Function Call: WRITE
  • Prompt: "+"
  • Line Location: HANGUP+15
Function Call: WRITE
  • Prompt: "ATH0",!
  • Line Location: HANGUP+17

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("OS" OPEN+17, OPEN+23
^%ZOSF("TRAP" FLUSH+4
^ABSP(9002313.54 - [#9002313.54] INIMODEM+2, MODEMSTS+3, DIAL+5
^ABSP(9002313.99 - [#9002313.99] PHONENUM+2

Label References

Name Line Occurrences
$$PHONENUM DIAL+3
ECHOOFF ATZ+3, ATZ+7
FLUSH CLOSE+1, ECHOOFF+4, ATZ+6, INIMODEM+6
HANGUP99 HANGUP+5
LOGZE FZE

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% MODEMSTS+1~, MODEMSTS+3*, MODEMSTS+4
ANS HANGUP+6~, HANGUP+12
BAUD OPEN+4~, OPEN+12*, OPEN+13*, OPEN+39
CMD MODEMSTS+1~, MODEMSTS+4*, MODEMSTS+5, MODEMSTS+7, MODEMSTS+8
CONNMSG DIAL+2~, DIAL+5*, DIAL+9, DIAL+11, DIAL+14
DIAL DIAL+1~, DIAL+2~, DIAL+3*, DIAL+6, DIAL+7
DIALOUT OPEN~, OPEN+6, OPEN+8, OPEN+9, OPEN+12, OPEN+15, CLOSE~, CLOSE+1, CLOSE+2, FLUSH~
, FLUSH+2, ECHOOFF~, ECHOOFF+3, ECHOOFF+4, ATZ~, ATZ+3, ATZ+5, ATZ+6, ATZ+7, INIMODEM~
, INIMODEM+2, INIMODEM+4, INIMODEM+6, MODEMSTS~, MODEMSTS+1, MODEMSTS+2, MODEMSTS+8, DIAL~, DIAL+1, DIAL+3
, DIAL+4, DIAL+7, DIAL+11, HANGUP~, HANGUP+4
>> ECHO OPEN+14, OPEN+45, CLOSE+3, FLUSH+12, FLUSH+14, ECHOOFF+2, ATZ+4, INIMODEM+5, MODEMSTS+7, MODEMSTS+11
, MODEMSTS+13, DIAL+6, DIAL+10, DIAL+12, DIAL+14
FLUSHSTR FLUSH+3~*, FLUSH+6*, FLUSH+7*, FLUSH+10, FLUSH+11*, FLUSH+12
I FLUSH+3~, FLUSH+5*, FLUSH+6, FLUSH+7, FLUSH+9, FLUSH+10, FLUSH+12, FLUSH+13, MODEMSTS+1~, MODEMSTS+10*
, MODEMSTS+12*, MODEMSTS+13, HANGUP+6~, HANGUP+15*
INI INIMODEM+2~*, INIMODEM+4, INIMODEM+5
IO OPEN+4~, OPEN+6*, OPEN+7, OPEN+19, OPEN+21, OPEN+24, OPEN+40, OPEN+42, CLOSE+2~*, CLOSE+3
, CLOSE+4, FLUSH+2~*, FLUSH+5, MODEMSTS+1~*, MODEMSTS+9, DIAL+1~*, HANGUP+4~*, HANGUP+9, HANGUP+15, HANGUP+17
LOOK4OK MODEMSTS+1~, MODEMSTS+4*, MODEMSTS+10
MAXI FLUSH+3~*, FLUSH+5, FLUSH+13, FLUSH+14
MODEMTYP MODEMSTS+2~*, MODEMSTS+3, DIAL+2~, DIAL+4*, DIAL+5
N FLUSH+10~*, FLUSH+11, PHONENUM~, PHONENUM+8
PARAM OPEN+31~
PARAM(1 OPEN+31*
PARAM(5 OPEN+32*, OPEN+33*, OPEN+34*, OPEN+35*
PARAM(8 OPEN+36*, OPEN+37*, OPEN+38*, OPEN+39*
PORT OPEN+4~, OPEN+9*, OPEN+10, OPEN+20, OPEN+24, OPEN+27
RETVAL OPEN+4~, OPEN+18*, OPEN+20*, OPEN+21, OPEN+25*, OPEN+43*, OPEN+44*, OPEN+45, OPEN+46, ECHOOFF+1~
, ECHOOFF+4*, ECHOOFF+5, ATZ+2~, ATZ+6*, ATZ+8, INIMODEM+1~, INIMODEM+6*, INIMODEM+7, MODEMSTS+1~, DIAL+1~
, DIAL+9*, DIAL+11*, DIAL+13*, DIAL+15
SERVER OPEN+4~, OPEN+9*, OPEN+10, OPEN+20, OPEN+24, OPEN+27
>> SOCKET( OPEN+24
TIMEOUT MODEMSTS+1~, MODEMSTS+4*, MODEMSTS+6*, MODEMSTS+10
TO FLUSH~, FLUSH+1*, FLUSH+5
TRY HANGUP+6~, HANGUP+12*
U INIMODEM+2, MODEMSTS+4, DIAL+5, PHONENUM+2, PHONENUM+9
WHERE LOGZE~
X OPEN+7~*, OPEN+10*, OPEN+14, OPEN+20*, OPEN+27*, OPEN+42*, OPEN+45, FLUSH+3~, FLUSH+4*, FLUSH+5*
, FLUSH+6, MODEMSTS+1~, DIAL+8~*, DIAL+10, DIAL+12, DIAL+14, PHONENUM+1~, PHONENUM+2*, PHONENUM+7*, PHONENUM+9*
, PHONENUM+10
X( MODEMSTS+10*, MODEMSTS+12, MODEMSTS+13
Y PHONENUM+1~, PHONENUM+8*, PHONENUM+9, PHONENUM+10

Marked Items

Name Field # of Occurrence
$T( OPEN+7, OPEN+20, OPEN+27, OPEN+42, CLOSE+3, FLUSH+4, FLUSH+12, FLUSH+14, LOGZE, ECHOOFF+2
, ATZ+4, INIMODEM+5, MODEMSTS+7, MODEMSTS+11, DIAL+6, DIAL+8, HANGUP+19
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All