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

Package: Imaging

Routine: MAGXIDXU


Information

MAGXIDXU ;WOIFO/JSL - MAG INDEX TERMS BUILD/UPDATE Utilities for Imaging Version 3.0; 06/29/2007 10:15

Source Information

Source file <MAGXIDXU.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Kernel 3 GETENV^%ZOSV  ($$FMADD,$$FMDIFF,$$FMTE,$$NOW)^XLFDT  $$KSP^XUPARAM  
MailMan 3 KILL^XM  $$READ^XMGAPI1  SENDMSG^XMXAPI  
VA FileMan 2 $$GET1^DIQ  ^DIR  
Imaging 1 ($$INXMB,WARNMSG)^MAGXIDX0  

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

Package Total Caller Graph
Imaging 3 MAG INDEX TERMS RESTORE  MAG INDEX TERMS UPDATE  MAGIP61A  

Entry Points

Name Comments DBIA/ICR reference
IDXUPDT ;API call - OPTION (MAG IMAGE INDEX TERMS UPDATE)
ERR ;error handler
UPDATE ;called by IDXUPDT
CHKSTA ;verify current status w/ National ^TMP
UFAIL ;UPDATE FAIL, no End Of File
INS(XP,DUZ,DATE,IDA) ;return msg
RESTORE ;API call - MAG INDXE TERM RESTORE
RECOVER ;Call by RESTORE
MKBASE ;make last known base
PRECHK() ;check to see if should overwrite old

External References

Name Field # of Occurrence
GETENV^%ZOSV IDXUPDT+2, UFAIL+2, INS+2, RESTORE+2
$$GET1^DIQ UFAIL+7, INS+14
^DIR IDXUPDT+4, RESTORE+12
$$INXMB^MAGXIDX0 IDXUPDT+9
WARNMSG^MAGXIDX0 PRECHK+39
$$FMADD^XLFDT UPDATE+17, MKBASE+3
$$FMDIFF^XLFDT INS+10
$$FMTE^XLFDT INS+7, INS+9, INS+13
$$NOW^XLFDT IDXUPDT+17, UPDATE+17, INS+8, MKBASE+3
KILL^XM IDXUPDT+2
$$READ^XMGAPI1 IDXUPDT+12, IDXUPDT+13, IDXUPDT+15
SENDMSG^XMXAPI UFAIL+14, INS+21, PRECHK+40
$$KSP^XUPARAM UFAIL+4, INS+4, PRECHK+25

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Calling user does not have security key MAG SYSTEM"
  • Line Location: IDXUPDT+3
Function Call: WRITE
  • Prompt: !,"Some one is also updating Index Terms, ^XTMP("_SUB_") locked."
  • Line Location: IDXUPDT+8
Function Call: WRITE
  • Prompt: !,"No updated distribution."
  • Line Location: IDXUPDT+9
Function Call: WRITE
  • Prompt: !
  • Line Location: IDXUPDT+10
Function Call: WRITE
  • Prompt: !,"The version is up-to-date."
  • Line Location: IDXUPDT+14
Function Call: WRITE
  • Prompt: !,"The Update of Imaging Index Terms was Aborted.",!
  • Line Location: IDXUPDT+22
Function Call: WRITE
  • Prompt: "The entire Distribution Mail Message was not received at this Site.",!
  • Line Location: IDXUPDT+23
Function Call: WRITE
  • Prompt: "You need to call Imaging Support and have the Distribution Message Re-Sent to this site.",!
  • Line Location: IDXUPDT+24
Function Call: WRITE
  • Prompt: !
  • Line Location: UPDATE+3
Function Call: WRITE
  • Prompt: "*"
  • Line Location: UPDATE+8
Function Call: WRITE
  • Prompt: !,"Restore Code: "_TKID,!
  • Line Location: UPDATE+11
Function Call: WRITE
  • Prompt: !,$P(^MAG(IN,0),"^"),"(#",IN,") ...updated.",!
  • Line Location: UPDATE+12
Function Call: WRITE
  • Prompt: !,"Calling user does not have security key MAG SYSTEM"
  • Line Location: RESTORE+3
Function Call: WRITE
  • Prompt: !,"To UnDo the Index Term updates and restore this site's Index Term files you need"
  • Line Location: RESTORE+5
Function Call: WRITE
  • Prompt: !,"the Restore Code that was included in the last INDEX TERMS UPDATE #",$G(^MAG(2005.82,"SERIAL#"))
  • Line Location: RESTORE+6
Function Call: WRITE
  • Prompt: !,"INSTALLATION message.",!
  • Line Location: RESTORE+7
Function Call: READ
  • Prompt: "Enter Restore Code: "
  • Variable: TKID
  • Timeout: 360
  • Line Location: RESTORE+8
Function Call: WRITE
  • Prompt: !
  • Line Location: RESTORE+8
Function Call: WRITE
  • Prompt: " Restore Code please!",!
  • Line Location: RESTORE+8
Function Call: WRITE
  • Prompt: !,"Nothing done.",!
  • Line Location: RESTORE+13
Function Call: WRITE
  • Prompt: !,"Done.",!
  • Line Location: RESTORE+15
Function Call: WRITE
  • Prompt: !,$G(MAGMSG(IN)),!
  • Line Location: PRECHK+39
Routine Call
  • DIR
  • Line Location:
    • IDXUPDT+4
    • RESTORE+12

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("ERRTN" ERR+3
^%ZOSF("TRAP" IDXUPDT+7
^MAG( IDXUPDT+18, IDXUPDT+19, UPDATE+12, UPDATE+14!*, UPDATE+15*, CHKSTA+3, CHKSTA+8, RECOVER+3, RECOVER+4!*, MKBASE+2
^MAG(2005.82 - [#2005.82] IDXUPDT+14, IDXUPDT+16, RESTORE+6
^TMP( IDXUPDT+5!, IDXUPDT+15*, UPDATE+2, UPDATE+6, UPDATE+11, UPDATE+14, CHKSTA+2, CHKSTA+3, CHKSTA+5*, CHKSTA+7
CHKSTA+8, CHKSTA+10*
^TMP("XMERR" INS+22
^XTMP( IDXUPDT+8, IDXUPDT+28, MKBASE+2*, MKBASE+3*, MKBASE+4*, PRECHK+2
^XTMP("MAG INDEX TERMS BACKUP" IDXUPDT+19*, ERR+2, UPDATE+18*, RESTORE+4, RESTORE+9, RECOVER+3, RECOVER+4
^XUSEC("MAG SYSTEM" IDXUPDT+3, RESTORE+3

Label References

Name Line Occurrences
$$PRECHK IDXUPDT+16
@( ERR+3
CHKSTA UPDATE+13
INS IDXUPDT+26
MKBASE IDXUPDT+26, RESTORE+14
RECOVER ERR+2, UFAIL+15, RESTORE+14
UFAIL IDXUPDT+21
UPDATE IDXUPDT+21

Naked Globals

Name Field # of Occurrence
^( UPDATE+2, UPDATE+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ANS RESTORE+1~
CNT UFAIL+1~, UFAIL+3*, UFAIL+4*, UFAIL+5*, UFAIL+6*, UFAIL+7*, UFAIL+8*, UFAIL+9*, INS+1~, INS+3*
, INS+4*, INS+5*, INS+6*, INS+7*, INS+9*, INS+10*, INS+11*, INS+12*, INS+13*, INS+14*
, INS+15*, PRECHK+23*, PRECHK+24*, PRECHK+25*, PRECHK+26*, PRECHK+27*, PRECHK+28*, PRECHK+29*, PRECHK+30*, PRECHK+31*
, PRECHK+32*, PRECHK+33*, PRECHK+34*, PRECHK+39
COM UFAIL+1~, INS+1~
CT UFAIL+1~, INS+1~, INS+8*, INS+9, INS+10
D UFAIL+1~, INS+1~
D0 UFAIL+1~, INS+1~
D1 UFAIL+1~, INS+1~
D2 UFAIL+1~, INS+1~
DATE IDXUPDT+1~, INS~, INS+7, INS+10, INS+13
DCNT PRECHK+1~*, PRECHK+6*, PRECHK+8*, PRECHK+9*, PRECHK+16*, PRECHK+19*, PRECHK+20*, PRECHK+23*, PRECHK+32*
DDATE UFAIL+1~, INS+1~
DG UFAIL+1~, INS+1~
DIC UFAIL+1~, INS+1~
DICR UFAIL+1~, INS+1~
DIFF PRECHK+1~*, PRECHK+6*, PRECHK+8*, PRECHK+9*, PRECHK+16*, PRECHK+19*, PRECHK+20*, PRECHK+23, PRECHK+42
DIFF( PRECHK+6*, PRECHK+8*, PRECHK+9*, PRECHK+16*, PRECHK+19*, PRECHK+20*, PRECHK+32
DIR IDXUPDT+1~, RESTORE+1~
DIR("A" IDXUPDT+4*, RESTORE+12*
DIR("B" IDXUPDT+4*, RESTORE+12*
DIR(0 IDXUPDT+4*, RESTORE+12*
DIW UFAIL+1~, INS+1~
DUZ IDXUPDT+3, IDXUPDT+26, ERR+1, UFAIL+7, UFAIL+11, INS~, INS+14, INS+17, RESTORE+3, PRECHK+36
EOF IDXUPDT+1~, IDXUPDT+21, UPDATE+2, UPDATE+3*, UPDATE+11
IDA IDXUPDT+1~, INS~
IEN CHKSTA+1~*, CHKSTA+2*, CHKSTA+3, CHKSTA+5, CHKSTA+7*, CHKSTA+8, CHKSTA+10
IN IDXUPDT+1~, IDXUPDT+18*, IDXUPDT+19, UPDATE+11*, UPDATE+12, UPDATE+14, UPDATE+15, CHKSTA+2, CHKSTA+3, CHKSTA+5
CHKSTA+7, CHKSTA+8, CHKSTA+10, RESTORE+1~, RESTORE+4*, RECOVER+2*, RECOVER+3, RECOVER+4, MKBASE+1~, MKBASE+2*
, PRECHK+3*, PRECHK+4, PRECHK+12*, PRECHK+13, PRECHK+17, PRECHK+39*
INXMB IDXUPDT+1~, IDXUPDT+9*, IDXUPDT+12
IO(0 IDXUPDT+3, IDXUPDT+4, IDXUPDT+8, IDXUPDT+9, IDXUPDT+10, IDXUPDT+14, IDXUPDT+21, UPDATE+3, UPDATE+8, UPDATE+11
RESTORE+3, RESTORE+4, RESTORE+13, RESTORE+15, PRECHK+39
LINE IDXUPDT+1~, IDXUPDT+12*, IDXUPDT+13*, IDXUPDT+15*
LN IDXUPDT+1~, IDXUPDT+12*, IDXUPDT+15*, UPDATE+1~, UPDATE+2*, UPDATE+6*
>> MAGDUZ UFAIL+13, INS+19, PRECHK+38
MAGMSG IDXUPDT+1~, UFAIL+1~, INS+1~
MAGMSG( UFAIL+3*, UFAIL+4*, UFAIL+5*, UFAIL+6*, UFAIL+7*, UFAIL+8*, UFAIL+9*, INS+3*, INS+4*, INS+5*
, INS+6*, INS+7*, INS+9*, INS+10*, INS+11*, INS+12*, INS+13*, INS+14*, INS+15*, PRECHK+24*
, PRECHK+25*, PRECHK+26*, PRECHK+27*, PRECHK+28*, PRECHK+29*, PRECHK+30*, PRECHK+31*, PRECHK+32*, PRECHK+33*, PRECHK+34*
, PRECHK+39
MSG UPDATE+1~
NEWSN IDXUPDT+1~, IDXUPDT+13*, IDXUPDT+14, IDXUPDT+16, UPDATE+15, UFAIL+6, UFAIL+10, INS+6, INS+16, PRECHK+27
, PRECHK+35
SAVMAG UPDATE+1~
SCODE UPDATE+1~, UPDATE+5*, UPDATE+7*, UPDATE+8
ST UFAIL+1~, INS+1~
STA CHKSTA+1~, CHKSTA+3*, CHKSTA+4, CHKSTA+8*, CHKSTA+9
START IDXUPDT+1~, IDXUPDT+17*, IDXUPDT+26
STO CHKSTA+1~, CHKSTA+3*, CHKSTA+5, CHKSTA+8*, CHKSTA+10
SUB IDXUPDT+1~, IDXUPDT+5*, IDXUPDT+8, IDXUPDT+12, IDXUPDT+15, IDXUPDT+28, UPDATE+2, UPDATE+5, UPDATE+6, UPDATE+11
UPDATE+14, UPDATE+18, CHKSTA+2, CHKSTA+3, CHKSTA+5, CHKSTA+7, CHKSTA+8, CHKSTA+10, PRECHK+2, PRECHK+5
, PRECHK+14
SUBJ MKBASE+1~*, MKBASE+2, MKBASE+3, MKBASE+4
TKID IDXUPDT+1~, IDXUPDT+6*, IDXUPDT+19, ERR+2, UPDATE+11, INS+12, RESTORE+1~, RESTORE+4, RESTORE+8*, RESTORE+9
RESTORE+11, RECOVER+1, RECOVER+3, RECOVER+4
U UPDATE+18, CHKSTA+3, CHKSTA+5, CHKSTA+8, CHKSTA+10, MKBASE+3, PRECHK+7, PRECHK+15, PRECHK+17, PRECHK+18
X IDXUPDT+1~, IDXUPDT+7*, UPDATE+1~, UPDATE+17*, UPDATE+18, MKBASE+1~, MKBASE+3*, PRECHK+1~, PRECHK+4*, PRECHK+5
, PRECHK+6, PRECHK+7, PRECHK+8, PRECHK+13*, PRECHK+14, PRECHK+15, PRECHK+16, PRECHK+17, PRECHK+18, PRECHK+19
X0 MKBASE+1~, MKBASE+3*, MKBASE+4
X1 MKBASE+1~
X2 MKBASE+1~
XMER IDXUPDT+1~, IDXUPDT+12, IDXUPDT+13, IDXUPDT+15
XMERR UFAIL+1~, INS+1~, INS+22*
XMID UFAIL+1~, UFAIL+11*, UFAIL+14, INS+1~, INS+17*, INS+21, PRECHK+36*, PRECHK+40
XMSUB UFAIL+1~, UFAIL+10*, UFAIL+14, INS+1~, INS+16*, INS+20*, INS+21, PRECHK+35*, PRECHK+40
XMY UFAIL+1~, UFAIL+14, INS+1~, INS+21, PRECHK+40
XMY( UFAIL+11*, UFAIL+13*, INS+17*, INS+19*, PRECHK+36*, PRECHK+38*
XMY("G.MAG SE RVER" , UFAIL+12*, INS+18*, PRECHK+37*
XMZ IDXUPDT+1~, IDXUPDT+12*, UFAIL+14, INS+21, PRECHK+40
XP IDXUPDT+1~, INS~, INS+5, INS+15, INS+16
Y IDXUPDT+1~, IDXUPDT+4, UPDATE+1~, UPDATE+2*, UPDATE+3, UPDATE+4, UPDATE+5, UPDATE+17*, UPDATE+18, INS+11
RESTORE+1~, RESTORE+13, PRECHK+1~, PRECHK+5*, PRECHK+6, PRECHK+7, PRECHK+9, PRECHK+14*, PRECHK+15, PRECHK+16
, PRECHK+17, PRECHK+18, PRECHK+20
Y1 UPDATE+1~, UPDATE+6*, UPDATE+7
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