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 |  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: AMHEXRE

Package: Mental Health Social Services

Routine: AMHEXRE


Information

AMHEXRE ; IHS/CMI/LAB - REDO A PREVIOUS MHSS EXPORT ;

Source Information

Source file <AMHEXRE.m>

Call Graph

Call Graph Total: 12

Package Total Call Graph
Mental Health Social Services 9 RECORD^AMHEXD2  (,QUEUE)^AMHEXDI  ERRBULL^AMHEXDI3  (,RUNTIME)^AMHEXEOJ  ^AMHEXERR  INIT^AMHEXRE1  ^AMHEXRLG  EN^AMHEXTAP  
CALLDIE^AMHLEIN  
VA Fileman 2 NOW^%DTC  ^DIR  
IHS Patient 1 KILL^AUPNPAT  

Entry Points

Name Comments DBIA/ICR reference
EN ;EP FROM TASKMAN
PROCESS ;
EOJ ;
CNTBUILD ;count and build tx
ABORT ; ABNORMAL TERMINATION
START ;
INIT ;
SETUTIL
TAPE ; COPY TRANSACTIONS TO TAPE
PROCESS2 ;
CHKLOG ; CHECK LOG FILE
RESETV ; RESET RECORD DATA IN LOG

External References

Name Field # of Occurrence
NOW^%DTC EN+2
RECORD^AMHEXD2 PROCESS2+7
^AMHEXDI START+2
QUEUE^AMHEXDI START+6
ERRBULL^AMHEXDI3 ABORT+2
^AMHEXEOJ EOJ+1
RUNTIME^AMHEXEOJ EN+9
^AMHEXERR CNTBUILD+1
INIT^AMHEXRE1 INIT+1
^AMHEXRLG EN+7
EN^AMHEXTAP TAPE+3
CALLDIE^AMHLEIN RESETV+5
KILL^AUPNPAT PROCESS2+7
^DIR EN+14, ABORT+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Bye",!!
  • Line Location: START+3
Function Call: WRITE
  • Prompt: !!,"Bye",!!
  • Line Location: START+5
Function Call: WRITE
  • Prompt: !!,"Bye",!!
  • Line Location: START+7
Function Call: WRITE
  • Prompt: !!,"Okay your request is queued!",!!
  • Line Location: START+8
Function Call: WRITE
  • Prompt: !!,"-->There are more than three generations of RECORDs stored in the LOG file.",!,"-->Time to do a purge."
  • Line Location: CHKLOG+2
Function Call: WRITE
  • Prompt: !!,"Abnormal termination!! QFLG=",AMH("QFLG")
  • Line Location: ABORT+3
Routine Call
  • DIR
  • Line Location:
    • EN+14
    • ABORT+4

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AMHREC - [#9002011] Classic Fileman Calls
^AMHXLOG - [#9002014] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AMHERRC("B" ABORT+1
^AMHREC - [#9002011] PROCESS2+4, PROCESS2+5
^AMHSDATA( CNTBUILD+5*
^AMHXLOG - [#9002014] PROCESS+1!, PROCESS+4, CHKLOG+1, RESETV+2*
^XTMP("AMH" CNTBUILD+3*
^XTMP("AMHREDO" PROCESS2+3*, SETUTIL*, RESETV+2, RESETV+4, RESETV+5, RESETV+7!

Label References

Name Line Occurrences
ABORT EN+3, EN+6, EN+8, EN+10, TAPE+3, ABORT+2
CHKLOG EN+11
EOJ START+3, START+5, START+7, START+8, EN+3, EN+6, EN+8, EN+10, EN+15, ABORT+2
INIT START+4
PROCESS EN+5
PROCESS2 PROCESS+4
RESETV EN+12
TAPE EN+13

Naked Globals

Name Field # of Occurrence
^( RESETV+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% EN+2!
%H EN+2!
%I EN+2!
AMH EN+16!
AMH( CNTBUILD+4*
AMH("A" PROCESS+2*
AMH("BT" EN+4*
AMH("COUNT" PROCESS+2*, CNTBUILD+2*, CNTBUILD+5
AMH("D" PROCESS+2*
AMH("ERROR CO UNT" , PROCESS+2*, CNTBUILD+1*
AMH("I" CHKLOG+1*
AMH("M" PROCESS+2*
AMH("MAIN TX DATE" , EN+2*, CNTBUILD+3
AMH("QFLG" START+3, START+5, START+7, EN+3, EN+6, EN+8, EN+10, PROCESS+4, TAPE+3, ABORT+1
, ABORT+3
AMH("QFLG1" ABORT+1*
AMH("RUN LOG" , PROCESS+1, PROCESS+4, CHKLOG+1, RESETV+2, ABORT+1
AMH("RUN STAR T" , EN+2*
AMH("X" CHKLOG+1*, CHKLOG+2, RESETV+2*, RESETV+4*, RESETV+5
AMH("Y" RESETV+2*
>> AMHCNT EN+1*, PROCESS2+2, RESETV+2, RESETV+5
>> AMHCNT1 EN+1*
>> AMHCNT2 EN+1*
>> AMHCNTR PROCESS+3*, RESETV+1*, RESETV+3*
AMHE PROCESS2+1!, CNTBUILD+1
>> AMHO("QUEUE" START+8
>> AMHO("RUN" START+1*, CNTBUILD+3
>> AMHR PROCESS+4*, PROCESS2+3, PROCESS2+4, PROCESS2+5, CNTBUILD+3, SETUTIL
>> AMHREC PROCESS2+5*, PROCESS2+6
AMHTX PROCESS2+1!, CNTBUILD+4, CNTBUILD+5, SETUTIL
AMHV PROCESS2+1!
AMHV("TX GENE RATED" , PROCESS2+3*, CNTBUILD+3*, SETUTIL
AMHV("V DATE" , PROCESS2+6*
DA EN+14!, RESETV+5*!, ABORT+1*, ABORT+4!
>> DIE RESETV+5*, ABORT+1*
DIR EN+14!, ABORT+4!
DIR("A" EN+14*, ABORT+4*
DIR(0 EN+14*, ABORT+4*
DR RESETV+5*!, ABORT+1*
U SETUTIL
>> ZTQUEUED EN+1, EN+3, EN+6, EN+8, EN+9, EN+10, EN+11, EN+14, PROCESS+3, TAPE+3
, RESETV+1, RESETV+3, ABORT+2
Info |  Source |  Call 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