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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: XQCS

Package: Kernel

Routine: XQCS


Information

XQCS ;SEA/Luke - Client/Server Utilities ;09/16/2016 10:11

Source Information

Source file <XQCS.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Kernel 3 (,XQO)^XQ92  ^XQDATE  ^XQSET  

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
Kernel 1 XUSRB  
Order Entry Results Reporting 1 ORY148  
RPC Broker 1 XWBSEC  

Entry Points

Name Comments DBIA/ICR reference
CHK(XQUSR,XQOPT,XQRPC) ;Check to see if this user can run this RPC from
  • ICR #2124
    • Status: Active
    • Usage: Private
    OPT ;See if the option is there and is a broker type option
    OPT1 ;
    OPTLK(V) ;Lookup a Option in the file, Return it's IEN
  • ICR #2124
    • Status: Active
    • Usage: Private
    RPC ;See if rpc exsists, is registered, is locked, etc.
    ; I '$D(^DIC(19,XQOPT,"RPC",0)) S XQMES="No RPC subfile defined for the option "_$P(^DIC(19,XQOPT,0),U)_"." Q
    ; I $P(^DIC(19,XQOPT,"RPC",0),U,4)<1 S XQMES="No remote procedure calls registered for the option "_$P(^DIC(19,XQOPT,0),U)_"." Q
    RULES ;Check the rules for this RPC
    USER ;See if XQUSR has been assigned access this option or not
    TOP ;See if XQOPT is on top level of a tree: primary, secondary, or common
    DEEP ;See if it's under the top somewhere - start with primary tree
    BUILD(XQDIC)

    External References

    Name Field # of Occurrence
    ^XQ92 OPT1+12
    XQO^XQ92 OPT1+11
    ^XQDATE OPT1+11, OPT1+12
    ^XQSET TOP+19

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^DIC(19 - [#19] OPT+1, OPT+4, OPT1+1, OPT1+2, OPT1+7, OPT1+10, OPT1+12, OPTLK+1, OPTLK+5, OPTLK+6
    , OPTLK+9, RPC+6, TOP+4, TOP+6, TOP+7, DEEP+3, DEEP+11, DEEP+15, BUILD+1, BUILD+2
    , BUILD+3, BUILD+4, BUILD+9
    ^TMP("XQCS" CHK+26!, OPT+4, OPTLK+3!, OPTLK+5*, RPC+6, RPC+8, RULES+3, RULES+5
    ^VA(200 - [#200] OPT1+9, OPT1+10, TOP+1, TOP+15, TOP+19, DEEP+15
    ^XUSEC( OPT1+9, OPT1+10, RPC+9
    ^XUTL("XQO" TOP+9, TOP+10, TOP+19, TOP+21, DEEP+3, DEEP+9, DEEP+11, BUILD+3*, BUILD+6
    ^XWB(8994 - [#8994] RPC+3, RPC+4, RPC+6

    Label References

    Name Line Occurrences
    $$BUILD TOP+9
    $$OPTLK OPT+4
    OPT CHK+28
    OPT1 OPT+3, OPTLK+4
    RPC CHK+30
    USER CHK+29

    Naked Globals

    Name Field # of Occurrence
    ^( OPTLK+5, OPTLK+6
    ^(0 TOP+15
    ^(1 OPTLK+5*, RULES+3
    ^(3 OPT1+10
    ^(3.91 OPT1+12

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    % CHK+24~, CHK+30*, OPT1+9*, OPT1+10*, OPT1+11, OPT1+12, USER+3*, TOP+9*, TOP+20*, TOP+21
    DEEP+8*
    DUZ OPT1+9, OPT1+10, TOP+17~*
    I OPTLK+5~*, OPTLK+6*
    J OPTLK+5~!*, OPTLK+6*
    J(1 OPTLK+5*
    >> MODE OPT+3
    U OPT+4, OPT1+8, OPT1+9, OPT1+10, OPT1+11, OPT1+12, OPTLK+6, RPC+6, RPC+8, TOP+15
    TOP+19, DEEP+15
    V OPTLK~, OPTLK+1, OPTLK+9
    X CHK+24~, OPT1+11*, OPT1+12*
    XQCOM TOP+5~, TOP+6*, TOP+7
    XQCS OPTLK+3~
    XQCS( OPTLK+3*, OPTLK+4!, OPTLK+6*
    XQCS("" OPTLK+4
    XQCSO OPTLK+3~
    XQCSO( OPTLK+4, OPTLK+7*
    XQCY0 CHK+24~, OPT1+7*, OPT1+8, OPT1+9, OPT1+10, OPT1+11
    XQDIC CHK+24~, TOP+19*, TOP+21, DEEP+2*, DEEP+3, DEEP+10*, DEEP+11, BUILD~, BUILD+1, BUILD+2
    , BUILD+3, BUILD+4, BUILD+6, BUILD+9
    XQKEY CHK+24~, RPC+8*, RPC+9
    XQMES CHK+27*, CHK+28, CHK+29, CHK+30, CHK+31, OPT+2*, OPT1+1*, OPT1+2*, OPT1+8*, OPT1+9*
    OPT1+10*, OPT1+11*, OPT1+12*, OPTLK+2~*, OPTLK+4, RPC+3*, RPC+4*, RPC+6*, RPC+9*, RULES+6*
    USER+3*, DEEP+15*, BUILD+11*
    XQOPT CHK~, OPT+1*, OPT+2, OPT+4*, OPT1+1*, OPT1+2, OPT1+7, OPT1+10, OPT1+12, OPTLK+1~*
    , OPTLK+3~, OPTLK+4*, OPTLK+5, OPTLK+6, OPTLK+7, RPC+6, TOP+1, TOP+7, TOP+10, TOP+21
    DEEP+3, DEEP+11, DEEP+15
    XQPM CHK+24~, TOP+1*, DEEP+1, DEEP+2
    XQRPC CHK~, CHK+30*, RPC+3*, RPC+4, RPC+6, RPC+8, RULES+3, RULES+5
    XQRPCOK CHK+24~, RULES+4*, RULES+6
    XQSM CHK+24~, TOP+20*, TOP+21*, DEEP+8*, DEEP+9*, DEEP+10
    XQSMY CHK+24~, USER+3*, TOP+15*, DEEP+9
    XQUSR CHK~, CHK+26, CHK+29, RPC+9, TOP+1, TOP+15, TOP+17, TOP+19, DEEP+9, DEEP+15
    >> XQY OPT1+12*
    >> XQY0 CHK+29
    XQYES USER+2~, USER+3*, TOP+7*, TOP+8, TOP+10*, TOP+12, TOP+21*, TOP+23, DEEP+3*, DEEP+5
    DEEP+9, DEEP+11*, DEEP+13
    XQYSAV CHK+24~, OPT1+12*
    >> XQZ OPT1+11*
    >> XX OPT1+11*
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All