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

Package: Mental Health

Routine: YS148IDX


Information

YS148IDX ;SLC/KCM - Re-index "AC" in MH RESULTS and MH ANSWERS ; 03/28/2019

Source Information

Source file <YS148IDX.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
VA FileMan 2 EN^DIK  ^DIR  
Kernel 1 ($$FMADD,$$FMTE,$$NOW)^XLFDT  
MailMan 1 ^XMD  
Mental Health 1 QTASK^YS148PST  
Toolkit 1 ($$GET,EN)^XPAR  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

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

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Mental Health 1 YS123 RE-INDEX MONITOR  

Entry Points

Name Comments DBIA/ICR reference
REIDX ; Re-indexing Task
FIX85AC ; Remove bad "AC" indexes from MH ANSWERS
RM85AC(ADMIN,QSTN,IEN) ; remove bad index
FIX85AD ; Remove bad "AD" indexes from MH ANSWERS
RM85AD(ADMIN,IEN) ; remove bad index
FIX92 ; Remove bad indexes from MH RESULTS
RM92AC(ADMIN,IEN) ; remove bad index
RESET85C ; Rebuild the "AC" index for MH ANSWERS (601.85)
RESET85D ; Rebuild the "AD" index for MH ANSWERS (601.85)
RESET92 ; Rebuild the "AC" index for MH RESULTS (601.92)
LOG(FIX,ADMIN,QSTN,IEN) ; Log fixes
UPD(MSG) ; set parameter to current status
NOTIFY(MSG) ; send message to installer
MONITOR ; Check status of re-index, allows re-queuing
STATUS ; Loop showing status until done

External References

Name Field # of Occurrence
EN^DIK RESET85C+8, RESET85D+8, RESET92+8
^DIR MONITOR+8, MONITOR+14, STATUS+8
$$FMADD^XLFDT REIDX+4
$$FMTE^XLFDT REIDX+11
$$NOW^XLFDT REIDX+11
^XMD NOTIFY+10
$$GET^XPAR STATUS+3
EN^XPAR UPD+1
QTASK^YS148PST MONITOR+16

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,MSG
  • Line Location: UPD+2
Function Call: WRITE
  • Prompt: !,"MH RESULTS and MH ANSWERS Re-Index Monitor"
  • Line Location: MONITOR+1
Function Call: WRITE
  • Prompt: !!," Status: ",$$GET^XPAR("SYS","YS123 RE-INDEX STATUS",1,"Q")
  • Line Location: STATUS+3
Function Call: WRITE
  • Prompt: !," Errors Repaired: ",+$G(^XTMP("YTS-RE-INDEX","ERRS")),!
  • Line Location: STATUS+4
Routine Call
  • DIR
  • Line Location:
    • MONITOR+8
    • MONITOR+14
    • STATUS+8

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^YTT(601.85 - [#601.85] Classic Fileman Calls
^YTT(601.92 - [#601.92] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^XTMP("YTS-RE-INDEX" REIDX+3!, REIDX+4*, LOG+2*, LOG+3*, STATUS+4
^YTT(601.85 - [#601.85] FIX85AC+2, FIX85AC+3, FIX85AC+4, FIX85AC+6, FIX85AC+7, RM85AC+1!, FIX85AD+2, FIX85AD+3, FIX85AD+5, FIX85AD+6
, RM85AD+1!, RESET85C+2, RESET85C+3, RESET85C+5, RESET85D+2, RESET85D+3, RESET85D+5
^YTT(601.92 - [#601.92] FIX92+2, FIX92+3, FIX92+5, FIX92+7, RM92AC+1!, RESET92+2, RESET92+3, RESET92+5

Label References

Name Line Occurrences
FIX85AC REIDX+6
FIX85AD REIDX+7
FIX92 REIDX+5
LOG RM85AC+2, RM85AD+2, RM92AC+2, RESET85C+9, RESET85D+9, RESET92+9
NOTIFY REIDX+14
RESET85C REIDX+9
RESET85D REIDX+10
RESET92 REIDX+8
RM85AC FIX85AC+6, FIX85AC+9, FIX85AC+11
RM85AD FIX85AD+5, FIX85AD+8
RM92AC FIX92+5, FIX92+7
STATUS MONITOR+2
UPD REIDX+5, REIDX+6, REIDX+7, REIDX+8, REIDX+9, REIDX+10, REIDX+13

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ADMIN FIX85AC+1~, FIX85AC+2*, FIX85AC+3, FIX85AC+4, FIX85AC+6, FIX85AC+9, FIX85AC+11, RM85AC~, RM85AC+1, RM85AC+2
FIX85AD+1~, FIX85AD+2*, FIX85AD+3, FIX85AD+5, FIX85AD+8, RM85AD~, RM85AD+1, RM85AD+2, FIX92+1~, FIX92+2*
FIX92+3, FIX92+5, FIX92+7, RM92AC~, RM92AC+1, RM92AC+2, RESET85C+1~, RESET85C+3*, RESET85C+4, RESET85C+5
RESET85C+9, RESET85D+1~, RESET85D+3*, RESET85D+4, RESET85D+5, RESET85D+9, RESET92+1~, RESET92+3*, RESET92+4, RESET92+5
RESET92+9, LOG~, LOG+2
DA RESET85C+6~, RESET85C+7*, RESET85D+6~, RESET85D+7*, RESET92+6~, RESET92+7*
DIFROM NOTIFY+1~
DIK RESET85C+6~, RESET85C+7*, RESET85D+6~, RESET85D+7*, RESET92+6~, RESET92+7*
DIK(1 RESET85C+7*, RESET85D+7*, RESET92+7*
DIR MONITOR+3~, STATUS+1~
DIR("?" MONITOR+7*, MONITOR+13*
DIR("A" MONITOR+5*, MONITOR+11*, STATUS+6*
DIR("B" MONITOR+6*, MONITOR+12*, STATUS+7*
DIR(0 MONITOR+4*, MONITOR+10*, STATUS+5*
DIROUT MONITOR+3~, MONITOR+9, MONITOR+15, STATUS+1~, STATUS+9
DIRUT MONITOR+3~, MONITOR+9, MONITOR+15, STATUS+1~, STATUS+9
DT REIDX+4
DTOUT MONITOR+3~, STATUS+1~
DUOUT MONITOR+3~, STATUS+1~
DUZ NOTIFY+8
FIX LOG~, LOG+2
IEN FIX85AC+1~, FIX85AC+4*, FIX85AC+6, FIX85AC+7, FIX85AC+9, FIX85AC+11, RM85AC~, RM85AC+1, RM85AC+2, FIX85AD+1~
FIX85AD+3*, FIX85AD+5, FIX85AD+6, FIX85AD+8, RM85AD~, RM85AD+1, RM85AD+2, FIX92+1~, FIX92+3*, FIX92+5
FIX92+7, RM92AC~, RM92AC+1, RM92AC+2, RESET85C+1~, RESET85C+2*, RESET85C+3, RESET85C+5, RESET85C+7, RESET85C+9
RESET85D+1~, RESET85D+2*, RESET85D+3, RESET85D+5, RESET85D+7, RESET85D+9, RESET92+1~, RESET92+2*, RESET92+3, RESET92+5
RESET92+7, RESET92+9, LOG~, LOG+2
MSG UPD~, UPD+1, UPD+2, NOTIFY~, NOTIFY+5
QSTN FIX85AC+1~, FIX85AC+3*, FIX85AC+4, FIX85AC+6, FIX85AC+9, FIX85AC+11, RM85AC~, RM85AC+1, RM85AC+2, RESET85C+1~
RESET85C+3*, RESET85C+4, RESET85C+5, RESET85C+9, LOG~, LOG+2
U REIDX+4, FIX85AC+9, FIX85AC+11, FIX85AD+8, FIX92+7, RESET85C+3, RESET85D+3, RESET92+3, LOG+2
X MONITOR+3~, STATUS+1~
X0 FIX85AC+1~, FIX85AC+7*, FIX85AC+9, FIX85AC+11, FIX85AD+1~, FIX85AD+6*, FIX85AD+8, RESET85C+1~, RESET85C+3*, RESET85D+1~
RESET85D+3*
XMDUZ NOTIFY+1~, NOTIFY+6*
XMMG NOTIFY+1~
XMSUB NOTIFY+1~, NOTIFY+7*
XMTEXT NOTIFY+1~, NOTIFY+9*
XMY NOTIFY+1~
XMY( NOTIFY+8*
XMZ NOTIFY+1~
Y MONITOR+3~, MONITOR+9, MONITOR+15, MONITOR+16, STATUS+1~, STATUS+2, STATUS+9*
YS148CNT REIDX+1~, REIDX+2*, REIDX+12, LOG+1*, LOG+2, LOG+3
>> YS148IN NOTIFY+8
YS148MSG REIDX+1~, REIDX+11*, REIDX+12*, REIDX+13, REIDX+14
YSTEXT NOTIFY+1~
YSTEXT(1 NOTIFY+2*
YSTEXT(2 NOTIFY+3*
YSTEXT(3 NOTIFY+4*
YSTEXT(4 NOTIFY+5*
>> ZTQUEUED REIDX+15, LOG+2, UPD+2
>> ZTREQ REIDX+15*
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