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  | All
Print Page as PDF
Routine: XQCHK3

Package: Kernel

Routine: XQCHK3


Information

XQCHK3 ; OAK-BY/BDT - This routine for XQCHK; Feb 17, 2022@07:03:39

Source Information

Source file <XQCHK3.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Kernel 3 ($$CHCKL,$$CHCKRL,$$CHKTOPL,$$CHKTOPRL)^XQCHK2  SET^XQSET  $$ACTIVE^XUSER  
VA FileMan 1 ^DIC  

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
Kernel 1 XQCHK  

Entry Points

Name Comments DBIA/ICR reference
OPACCES ;Entry point for the option that checks to see if a user has
ACCESS(%XQUSR,%XQOP) ;Find out if a user has access to a particular option
CKPM(XQUSR,XQIEN) ; Access allowed through the Primary Menu
CKCM(XQUSR,XQIEN) ; Access found in the Common Options
CKTSM(XQUSR,XQIEN) ; Access found in the top level of secondary option
CKTESM(XQUSR,XQIEN) ; Access through the secondary menu tree OpIEN
KEYS(XQA,XQUSR) ;Check for keys, reverse keys...
KEYSTOP(XQIEN,XQUSR) ;check Lock and Reversed Lock on the top level menu
PRINT(XQANS) ; print out the result
KILLFM ;Kill off the FileMan variables

External References

Name Field # of Occurrence
^DIC OPACCES+4, OPACCES+9
$$CHCKL^XQCHK2 KEYS+6
$$CHCKRL^XQCHK2 KEYS+8
$$CHKTOPL^XQCHK2 KEYSTOP+5
$$CHKTOPRL^XQCHK2 KEYSTOP+7
SET^XQSET CKTSM+7
$$ACTIVE^XUSER ACCESS+26

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!?5,"Sorry we couldn't find that user in the New Person File.",!
  • Line Location: OPACCES+6
Function Call: WRITE
  • Prompt: !!?5,"Sorry we couldn't find that option.",!
  • Line Location: OPACCES+11
Function Call: WRITE
  • Prompt: !!?5,"User ",XQUSER," is not in the New Person File."
  • Line Location: PRINT+7
Function Call: WRITE
  • Prompt: !!?5,"User ",XQUSER," has an active termination date,",!?5,"or no verify code."
  • Line Location: PRINT+8
Function Call: WRITE
  • Prompt: !!?5,"Option ",XQOPT," is not in the Option File."
  • Line Location: PRINT+9
Function Call: WRITE
  • Prompt: !!?5,"There is a lock somewhere in the menu tree "_XQTREE,!?5,"and the user does not hold the key "_XQKEY_"."
  • Line Location: PRINT+12
Function Call: WRITE
  • Prompt: !!?5,"There is a reverse lock somewhere in the menu tree "_XQTREE,!?5,"and the user holds the key "_XQKEY_"."
  • Line Location: PRINT+13
Function Call: WRITE
  • Prompt: !!?5,"User ",XQUSER," has access to the option ",XQOPT,!?5,"through the primary menu ",XQTREE," (",$P(^DIC(19,XQPTR,0),U,2),")."
  • Line Location: PRINT+15
Function Call: WRITE
  • Prompt: !!?5,"User ",XQUSER," has access to the option ",XQOPT,!?5,"through the Common Options (XUCOMMAND)."
  • Line Location: PRINT+16
Function Call: WRITE
  • Prompt: !!?5,"User ",XQUSER," has access to the option ",XQOPT,!?5,"as a top-level secondary menu option."
  • Line Location: PRINT+17
Function Call: WRITE
  • Prompt: !!?5,"User ",XQUSER," has access to the option ",XQOPT,!?5,"through the secondary menu tree ",XQTREE," (",$P(^DIC(19,XQPTR,0),U,2),")."
  • Line Location: PRINT+18
Function Call: WRITE
  • Prompt: !
  • Line Location: PRINT+19
Routine Call
  • DIC
  • Line Location:
    • OPACCES+4
    • OPACCES+9

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(19 - [#19] ACCESS+32, ACCESS+33, ACCESS+36, CKCM+4, CKTSM+7, PRINT+4, PRINT+15, PRINT+18
^VA(200 - [#200] CKPM+5, CKTSM+5, CKTESM+4
^XUTL("XQO" CKPM+12, CKPM+13, CKCM+6, CKCM+7, CKTSM+6, CKTESM+6

Label References

Name Line Occurrences
$$ACCESS OPACCES+14
$$CKCM ACCESS+43
$$CKPM ACCESS+39
$$CKTESM ACCESS+49
$$CKTSM ACCESS+46
$$KEYS CKPM+15, CKCM+9, CKTSM+9, CKTESM+9
$$KEYSTOP CKPM+8, CKTESM+8
KILLFM OPACCES+5, OPACCES+6, OPACCES+7, OPACCES+10, OPACCES+11, OPACCES+12
PRINT OPACCES+16

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%XQOP ACCESS~, ACCESS+31, ACCESS+32*, ACCESS+33*, ACCESS+35, ACCESS+36, ACCESS+39, ACCESS+43, ACCESS+46, ACCESS+49
, CKCM+7
%XQUSR ACCESS~, ACCESS+26, ACCESS+39, ACCESS+43, ACCESS+46, ACCESS+49
D0 KILLFM+1!
DI KILLFM+1!
DIC OPACCES+2~, OPACCES+4*, OPACCES+9*, KILLFM+1!
DIC("A" OPACCES+4*, OPACCES+9*
DIC(0 OPACCES+4*, OPACCES+9*
DIE KILLFM+1!
DISYS KILLFM+1!
DQ KILLFM+1!
DR KILLFM+1!
DTOUT OPACCES+5, OPACCES+10, KILLFM+1!
DUOUT OPACCES+5, OPACCES+10, KILLFM+1!
U OPACCES+7, OPACCES+12, ACCESS+25~*, ACCESS+40, ACCESS+41, ACCESS+44, ACCESS+45, ACCESS+47, ACCESS+48, ACCESS+50
, ACCESS+51, PRINT+3, PRINT+4, PRINT+5, PRINT+15, PRINT+18
X OPACCES+2~, KILLFM+1!
XQA KEYS~, KEYS+6, KEYS+8
XQANS OPACCES+2~, OPACCES+14*, OPACCES+16, PRINT~, PRINT+2, PRINT+3, PRINT+4, PRINT+5
XQCODES PRINT+1~, PRINT+5*, PRINT+12, PRINT+13
XQCOM CKCM+3~, CKCM+4*, CKCM+10, CKCM+11
XQDIC CKPM+4~, CKPM+11*, CKPM+12, CKPM+13, CKCM+3~, CKCM+5*, CKCM+6, CKCM+7, CKTSM+3~, CKTSM+4*
, CKTSM+6, CKTESM+3~, CKTESM+5*, CKTESM+6
XQI CKTESM+3~*, CKTESM+4*, CKTESM+5, CKTESM+8, CKTESM+10, CKTESM+11*
XQIEN CKPM~, CKPM+8, CKPM+12, CKPM+13, CKCM~, CKCM+6, CKTSM~, CKTSM+5, CKTSM+6, CKTSM+7
, CKTSM+10, CKTSM+11, CKTESM~, CKTESM+6, KEYSTOP~, KEYSTOP+5, KEYSTOP+7
XQKEY PRINT+1~, PRINT+5*, PRINT+12, PRINT+13
XQL KEYS+5~, KEYS+6*, KEYS+7, KEYSTOP+4~, KEYSTOP+5*, KEYSTOP+6
XQOPN OPACCES+2~, OPACCES+12*, OPACCES+14
XQOPT OPACCES+2~, OPACCES+12*, PRINT+9, PRINT+11, PRINT+15, PRINT+16, PRINT+17, PRINT+18
XQPM CKPM+4~, CKPM+5*, CKPM+6, CKPM+9, CKPM+11, CKPM+16, CKPM+17
XQPTR PRINT+1~, PRINT+3*, PRINT+4, PRINT+15, PRINT+18
XQRL KEYS+5~, KEYS+8*, KEYS+9, KEYSTOP+4~, KEYSTOP+7*, KEYSTOP+8
XQRSLT PRINT+1~, PRINT+2*, PRINT+7, PRINT+8, PRINT+9, PRINT+10, PRINT+15, PRINT+16, PRINT+17, PRINT+18
XQRT ACCESS+38~*, ACCESS+39*, ACCESS+40, ACCESS+41, ACCESS+42, ACCESS+43*, ACCESS+44, ACCESS+45, ACCESS+46*, ACCESS+47
, ACCESS+48, ACCESS+49*, ACCESS+50, ACCESS+51, CKPM+4~, CKPM+8*, CKPM+9, CKPM+15*, CKPM+16, CKPM+17
, CKCM+3~, CKCM+9*, CKCM+10, CKCM+11, CKTSM+3~, CKTSM+9*, CKTSM+10, CKTSM+11, CKTESM+3~*, CKTESM+8*
, CKTESM+9*, CKTESM+11, CKTESM+12, CKTESM+13, CKTESM+14, KEYS+5~*, KEYS+7*, KEYS+9*, KEYS+10, KEYSTOP+4~*
, KEYSTOP+6*, KEYSTOP+8*, KEYSTOP+9
XQRT1 ACCESS+38~*, ACCESS+42*, ACCESS+45*, ACCESS+48*, ACCESS+51*, ACCESS+52*, ACCESS+53
XQTL CKPM+4~, CKPM+13*, CKPM+14, CKPM+15, CKCM+3~, CKCM+7*, CKCM+8, CKCM+9, CKTSM+3~, CKTSM+6*
, CKTSM+7*, CKTSM+8, CKTSM+9, CKTESM+3~, CKTESM+6*, CKTESM+7*, CKTESM+9
XQTREE PRINT+1~, PRINT+2*, PRINT+4*, PRINT+12, PRINT+13, PRINT+15, PRINT+18
XQUSER OPACCES+2~, OPACCES+7*, PRINT+7, PRINT+8, PRINT+11, PRINT+15, PRINT+16, PRINT+17, PRINT+18
XQUSN OPACCES+2~, OPACCES+7*, OPACCES+14
XQUSR ACCESS+25~, ACCESS+26*, ACCESS+27, ACCESS+28, CKPM~, CKPM+5, CKPM+8, CKPM+15, CKCM~, CKCM+9
, CKTSM~, CKTSM+4, CKTSM+5, CKTSM+9, CKTESM~, CKTESM+4, CKTESM+8, CKTESM+9, KEYS~, KEYS+6
, KEYS+8, KEYSTOP~, KEYSTOP+5, KEYSTOP+7
XQY CKTESM+3~*, CKTESM+10*, CKTESM+12, CKTESM+14
Y OPACCES+2~, OPACCES+6, OPACCES+7, OPACCES+11, OPACCES+12, KILLFM+1!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All