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 |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SCUTBK3

Package: Scheduling

Routine: SCUTBK3


Information

SCUTBK3 ;MJK/ALB - RPC Broker Utilities ; SEP 99

Source Information

Source file <SCUTBK3.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
VA FileMan 3 (BLD,MSG)^DIALOG  (FILE,UPDATE)^DIE  FDA^DILF  
Kernel 2 GETENV^%ZOSV  $$PATCH^XPDUTL  
Scheduling 2 ($$CLNLST,$$DISCLNTS,$$UPCLNLST)^SCMCUT  SECKEY^SCUTBK11  

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

Package Total Caller Graph
Scheduling 8 SCMC VERIFY C/S SYNC  SCMCBK1  SCMCCV6  SCRPBK2  SCRPBK3  SCRPBK4  SCUT GET USER RECORD  SCUT SET USER QUERY DEFAULT  

Entry Points

Name Comments DBIA/ICR reference
GETUSER(SCDATA,SCDUZ) ; -- get user data
DEFAULT(SCDUZ) ; -- get default query for user
SETDEF(SCDATA,SCDUZ,SCQRY) ; -- set user's default query
; input: SCDUZ -> user's id (DUZ)
; SCQRY ->query ien
SETDEFQ
VERPAT(SCRESULT,SCPATCH) ;
; for rpc SCMC VERIFY C/S SYNC
; input := ServerPatch^ClientVersion
; output := SCRESULT: 0 = Not Continue
; 1 = Continue (pre SD*5.3*204)
; n = RpcTimeLimit (after SD*5.3*204)
  • ICR #3399
    • Status: Active
    • Usage: Controlled Subscription
    VPROGMR() ; check if user is programmer
    VAPVER(SCX) ; check client RPCVersion
    ; ; input SCX := client RPCVersion(server XWBAPVER)
    ; ; output := RpcTimeLimit
    VCLIENT(SCX) ; check executable version/update if new
    ; ; input SCX := server^client (versions)
    VPATCH(SCX) ; check server version
    ; ; input SCX := server^client (versions)
    HDREC(SCDATA,SCER,SCPROC) ; -- build zeroth of SCDATA array
    SETPROC(SCDATA,SCPROC) ; -- set process name for error list
    ERRCHK(SCDATA,SCERR,SCPROC) ; -- process fileman dbs errors

    External References

    Name Field # of Occurrence
    GETENV^%ZOSV GETUSER+17
    BLD^DIALOG GETUSER+21
    MSG^DIALOG ERRCHK+3
    FILE^DIE SETDEF+25
    UPDATE^DIE SETDEF+17
    FDA^DILF SETDEF+15, SETDEF+24
    $$CLNLST^SCMCUT VCLIENT+11, VCLIENT+16
    $$DISCLNTS^SCMCUT VERPAT+10
    $$UPCLNLST^SCMCUT VCLIENT+20
    SECKEY^SCUTBK11 VPROGMR+2
    $$PATCH^XPDUTL VPATCH+2

    Used in RPC

    RPC Name Call Tags
    SCUT GET USER RECORD GETUSER
    SCUT SET USER QUERY DEFAULT SETDEF
    SCMC VERIFY C/S SYNC VERPAT

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^SCRS(403.35 - [#403.35] FDA^DILF

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^DIC(4 - [#4] GETUSER+18
    ^SCRS(403.35 - [#403.35] DEFAULT+2, SETDEF+14
    ^SCTM(404.44 - [#404.44] VAPVER+4, VAPVER+6
    ^SD(404.95 - [#404.95] DEFAULT+3, DEFAULT+4
    ^VA(200 - [#200] GETUSER+13

    Label References

    Name Line Occurrences
    $$DEFAULT GETUSER+16
    $$VAPVER VERPAT+14
    $$VCLIENT VERPAT+23
    $$VPATCH VERPAT+20
    $$VPROGMR VERPAT+17
    ERRCHK SETDEF+18, SETDEF+26
    HDREC GETUSER+22, ERRCHK+4
    SETDEFQ SETDEF+14
    SETPROC HDREC+3

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    DIERR GETUSER+11~, GETUSER+22, SETDEF+10~
    DUZ GETUSER+12
    DUZ(2 GETUSER+18
    SC1 VCLIENT+10~, VCLIENT+11*, VCLIENT+12
    SC1LIST VCLIENT+10~
    SC1LIST( VCLIENT+12
    SC2 VCLIENT+15~, VCLIENT+16*, VCLIENT+17
    SC2LIST VCLIENT+15~
    SC2LIST( VCLIENT+17
    SCCLI VCLIENT+3~, VCLIENT+6*, VCLIENT+7, VCLIENT+12, VCLIENT+17
    SCDATA GETUSER~, GETUSER+22, SETDEF~, SETDEF+18, SETDEF+26, HDREC~, HDREC+3, SETPROC~, ERRCHK~, ERRCHK+3
    , ERRCHK+4
    SCDATA(0 GETUSER+16*, GETUSER+18*, SETDEF+14, HDREC+2*, HDREC+5*, SETPROC+1*
    SCDUZ GETUSER~, GETUSER+12*, GETUSER+13, GETUSER+16, GETUSER+20, DEFAULT~, DEFAULT+2, SETDEF~, SETDEF+14, SETDEF+15
    , SETDEF+16, SETDEF+24
    SCER HDREC~, HDREC+1, HDREC+2
    SCERR SETDEF+10~, SETDEF+12*, SETDEF+15, SETDEF+17, SETDEF+18, SETDEF+21!, SETDEF+22*, SETDEF+24, SETDEF+25, SETDEF+26
    , ERRCHK~, ERRCHK+3
    SCERR("DIERR" ERRCHK+2
    SCERS ERRCHK+1~, ERRCHK+2*, ERRCHK+3, ERRCHK+4
    SCFDA SETDEF+10~, SETDEF+12*, SETDEF+15, SETDEF+17, SETDEF+21!, SETDEF+22*, SETDEF+24, SETDEF+25
    SCIENS SETDEF+10~, SETDEF+12*, SETDEF+17, SETDEF+21!, SETDEF+22*
    SCIENS(1 SETDEF+16*
    SCPARM GETUSER+11~, GETUSER+21
    SCPARM("USER ID" , GETUSER+20*
    SCPATCH VERPAT~, VERPAT+20, VERPAT+23
    SCPROC SETDEF+10~, SETDEF+11*, SETDEF+18, HDREC~, HDREC+3, SETPROC~, SETPROC+1, ERRCHK~, ERRCHK+4
    SCQRY SETDEF~, SETDEF+23
    SCRESULT VERPAT~, VERPAT+10*, VERPAT+11, VERPAT+14*, VERPAT+20*, VERPAT+23*
    SCSER VCLIENT+3~, VCLIENT+4*, VCLIENT+5, VCLIENT+11, VCLIENT+16
    SCVAL SETDEF+10~, SETDEF+21!, SETDEF+23*, SETDEF+24
    SCX VERPAT+7~, VPROGMR+1~, VPROGMR+2, VPROGMR+3, VAPVER~, VAPVER+3, VAPVER+4*, VAPVER+5, VAPVER+6*, VAPVER+7
    , VCLIENT~, VCLIENT+4, VCLIENT+6, VCLIENT+20, VPATCH~, VPATCH+2
    U GETUSER+16, GETUSER+18, DEFAULT+2, DEFAULT+4, VAPVER+6, VCLIENT+4, VCLIENT+6, VPATCH+2, HDREC+2, HDREC+5
    , SETPROC+1
    X GETUSER+11~, GETUSER+13*, GETUSER+14, GETUSER+16, DEFAULT+1~, DEFAULT+2*, DEFAULT+3*, DEFAULT+4*, DEFAULT+5
    >> XWBAPVER VERPAT+14
    Y GETUSER+15~, GETUSER+18
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All