Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls |  Used in RPC
Print Page as PDF
Routine: XQ84

Package: Kernel

Routine: XQ84


Information

XQ84 ;SEA/LUKE,ISD/HGW - Menu Rebuild Utilities ;06/06/13 12:59

Source Information

Source file <XQ84.m>

Entry Points

Name Comments DBIA/ICR reference
SHOW ; Show what's in the global ^XUTL("XQO","REBUILDS")
; ZEXCEPT: DIRUT,DUOUT,IOF,IOSL ; Kernel exemptions
WRITE ;Write an entry unless the screen is full
; ZEXCEPT: IOF,XQB,XQBY,XQE,XQJ,XQNI,XQNL,XQNT,XQT,XQTYPE,XQUCI ; Kernel exemptions
TOP ; Format the top of the page
; ZEXCEPT: XQNL ; Kernel exemption
TITLE ;What is this all about?
; ZEXCEPT: XQNL ; Kernel exemption
WAIT ;That's a screen load hold it here for a minute
; ZEXCEPT: DIR ; Kernel exemption
USER ;Rebuild the menu trees of a specific user
REACT(XUN) ;From XUSERNEW, check trees for reactivated user
; ZEXCEPT: XQQUE,XQUEUED,XWB,ZTDESC,ZTDTH,ZTIO,ZTRTN,ZTSAVE,ZTSK ; Kernel exemptions
FLAG(XQARRAY,XQNUM1) ;Should we build a particular array of trees
REACTQ ;Queued job to rebuild a reactivated user's menu trees
; can also be run in real time by USER (above)
; ZEXCEPT: D,I,W,X,XQFG1,XQK,XQQUE,XQREACT,XQSTAT,XQXUF,XUN,Y,Z,ZTQUEUED,ZTREQ ; Kernel exemptions
REPORT(XQTYPE) ;Tell us what happened.
; ZEXCEPT: XQSTART,ZTSK ; Kernel exemptions
NOW ;Is there a rebuild of any kind running right now?
REBUILD(RESULT) ; RPC. [XU REBUILD MENU TREE] public (p629)
; input - none (uses DUZ)
; output - 0 if unsuccessful, 1 if successful

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !," Sorry, there is no data in the global ^XUTL(""XQO"",""REBUILDS"") to show you.",!
  • Line Location: SHOW+2
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: SHOW+8
Function Call: WRITE
  • Prompt: !,XQNI,".",?4,XQB,?28,XQE,?51,XQBY,?60,XQTYPE,?71,XQT,!,XQUCI,XQJ,!
  • Line Location: WRITE+9
Function Call: WRITE
  • Prompt: !,?11,"Start",?35,"End",?53,"By",?59,"Type/Name",?72,"Task #",!
  • Line Location: TOP+2
Function Call: WRITE
  • Prompt: ?36,"Recent Menu Rebuilds",!
  • Line Location: TITLE+4
Function Call: WRITE
  • Prompt: ?14,$S(%>0:%,1:"No")_" instances of Micro Surgery since last rebuild."
  • Line Location: TITLE+6
Function Call: WRITE
  • Prompt: !!,"No Primary Menu defined for this user."
  • Line Location: USER+10
Function Call: WRITE
  • Prompt: !!," Task number: ",ZTSK
  • Line Location: USER+49
Function Call: WRITE
  • Prompt: !!," Done."
  • Line Location: USER+53
Function Call: WRITE
  • Prompt: !!?6,"There is no menu rebuild activity running on your system right now."
  • Line Location: NOW+15

Used in RPC

RPC Name Call Tags
XU REBUILD MENU TREE REBUILD
Info |  Source |  Entry Points |  Interaction Calls |  Used in RPC