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

Package: Imaging

Routine: MAGJLS2


Information

MAGJLS2 ;WIRMFO/JHC Rad. Workstation RPC calls ; 24-Mar-2010 1:26pm

Source Information

Source file <MAGJLS2.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Kernel 4 $$EC^%ZOSV  (,$$S)^%ZTLOAD  $$HTFM^XLFDT  ^XUSCLEAN  
Imaging 3 (LSTOUT,PARAMS,UPDR)^MAGJLS2B  BLDACTV^MAGJLS3  MAGJOBNC^MAGJUTL3  

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

Package Total Caller Graph
Imaging 5 MAGJ RADACTIVEEXAMS  MAGJ SCHED RECENT LIST COMPILE  MAGJLS2B  MAGJLS3  MAGJLS4  

Entry Points

Name Comments DBIA/ICR reference
BKGERR
ERR1
ERR
ACTIVE(MAGGRY,DATA) ; EP--get Active (Unread/Recent/Pend) Exam Lists
; MAGGRY holds $NA ref to ^TMP where return msg is assembled
; all refs to MAGGRY use SS indirection
; If not use bkgnd, compile in foregnd
ACTIVEZ
FOREGND ; compile in foregnd
HISTORY ; compile History list
BKREQU ; UNREAD exams from bkgnd
BKREQR ; Recent Exams from bkgnd
BKOUT(LSTNM) ; output list from the bkgnd process
BKREQA(DATA) ; ALL Active from Bkgnd
; Copy compiles of Unread & Recent to a scratch global, & call lstout
BKGND ; EP for background compile of UNREAD exams
BKGND2 ; EP--bkgnd compile RECENT
BKGNDA
BKLOOP ; Loop & compile "master" UNREAD List only
BKGNDZ
NEWINT ; Add exams newly Interp since Recent Compile started to Recent List
; 1st, get list of candidates:
LSTCOMP(COMPFAIL) ; Compile new list; subrtn used by Active and Bkgnd tags
LSTCOMZ
CURLIST(LSTNAM,WAIT) ; return cur. list & age in secs
; RET = Current_List_Num ^ age ^ Problem_Current_List_Num
; Current_List_Num -- Nil means brand new; value means this is most current
; piece 3 populated if excessive time has elapsed, indicating potential problem
CURLISZ
DELTA(X,Y) ; calc # secs bet 2 $h values; dflt 2nd value = now
; useful limit is one day
END ;

External References

Name Field # of Occurrence
$$EC^%ZOSV ERR
^%ZTLOAD BKREQU+8
$$S^%ZTLOAD BKLOOP+17
LSTOUT^MAGJLS2B FOREGND+3, HISTORY+2, BKREQU+16, BKOUT+7, BKREQA+15
PARAMS^MAGJLS2B ACTIVE+7, BKREQA+5, BKREQA+14, BKGNDA+3, BKLOOP+2
UPDR^MAGJLS2B BKLOOP+21
BLDACTV^MAGJLS3 FOREGND+2, HISTORY+1, LSTCOMP+10
MAGJOBNC^MAGJUTL3 BKGNDA+2
$$HTFM^XLFDT LSTCOMP+7
^XUSCLEAN BKGERR

Used in RPC

RPC Name Call Tags
MAGJ RADACTIVEEXAMS ACTIVE

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("ERRTN" ERR+2
^MAG(2006.69 - [#2006.69] BKLOOP+16
^TMP($J ERR*, ERR+1, ACTIVE+8, ACTIVE+34, BKREQU+15, BKOUT+8, BKREQA+11*, BKREQA+13*, BKREQA+15, BKREQA+16
NEWINT+4, NEWINT+5*, NEWINT+10, NEWINT+11, NEWINT+16!
^XTMP("MAGJ2" ERR1ERR1+1, HISTORY+7*, HISTORY+9, HISTORY+17*, HISTORY+18!, BKREQU+1, BKREQU+14, BKREQU+16, BKOUT+7
, BKREQA+11, BKGND+1, BKLOOP+5!, BKLOOP+6*, BKGNDZNEWINT+2, NEWINT+5, NEWINT+6!, NEWINT+7, NEWINT+12
NEWINT+14, NEWINT+15, LSTCOMP+2, LSTCOMP+8*, LSTCOMP+9*, LSTCOMP+10, LSTCOMP+11, LSTCOMP+12*, LSTCOMP+13*, LSTCOMP+14
, LSTCOMP+16*, LSTCOMZ, CURLIST+7

Label References

Name Line Occurrences
$$CURLIST BKREQU+9, BKREQU+13, BKOUT+4, BKREQA+6, BKLOOP+8
$$DELTA LSTCOMP+11, CURLIST+9
@( ERR+2
BKGNDA BKGND+3, BKGND2+1
BKGNDZ BKLOOP+3, BKLOOP+7, BKLOOP+11
BKLOOP BKLOOP+21
BKOUT BKREQU+2, BKREQR+1
BKREQA ACTIVE+37
BKREQR ACTIVE+36
BKREQU ACTIVE+35
CURLISZ CURLIST+8
FOREGND ACTIVE+40
HISTORY FOREGND+1
LSTCOMP BKREQU+12, BKLOOP+19
LSTCOMZ LSTCOMP+3
NEWINT BKLOOP+20

Naked Globals

Name Field # of Occurrence
^( HISTORY+6, NEWINT+5, NEWINT+10, NEWINT+14*
^("RECENT" NEWINT+6*
^(0 NEWINT+14*
^(2 HISTORY+6, HISTORY+7*, HISTORY+17*, BKREQA+11*, BKREQA+13*, BKLOOP+6*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AGE CURLIST+5~, CURLIST+9*, CURLIST+10
ALLGO BKREQA+2~, BKREQA+3*, BKREQA+4, BKREQA+5*, BKREQA+10*, BKREQA+12, BKREQA+16
BKGLSTID BKGND+3~*, BKGND2+1~*, BKGNDA+3
BKGND ACTIVE+5~, ACTIVE+35, ACTIVE+36, ACTIVE+37, BKLOOP+7, BKLOOP+11, BKLOOP+15, BKLOOP+16*, BKLOOP+17*
BKGPROC BKREQU+11*, BKREQU+12!, BKGNDA*
BKLOOP BKLOOP+1*, BKLOOP+2, BKGNDZ+2!
CDAT HISTORY+4~, HISTORY+13*, HISTORY+14
CNT BKREQA+2~, BKREQA+3*, BKREQA+11*, BKREQA+13
COMPFAIL ACTIVE+5~, BKREQU+12, BKREQU+15, LSTCOMP~, LSTCOMP+1*, LSTCOMP+3*
COMTIM LSTCOMP+5~, LSTCOMP+11*, LSTCOMP+12, LSTCOMP+16
DATA ACTIVE~, ACTIVE+7, ACTIVE+11, ACTIVE+24, ACTIVE+27, ACTIVE+33, ACTIVE+37, BKREQA~, BKREQA+14, BKREQA+16
DATA01 ACTIVE+5~, ACTIVE+7*, ACTIVE+14, ACTIVE+18
DELTA BKREQU+11, BKLOOP+11, BKLOOP+13, BKGNDZ+2!, CURLIST+10
DUZ HISTORY+7, HISTORY+9, HISTORY+17, HISTORY+18
DUZ(2 HISTORY+7, HISTORY+9, HISTORY+17, HISTORY+18
ERR ERR~*
>> ERRCOUNT BKGERR*
EXID HISTORY+4~, HISTORY+8*, HISTORY+11
EXTRATIM CURLIST+5~, CURLIST+6*, CURLIST+10
GETLST BKREQA+2~, BKREQA+4*, BKREQA+5, BKREQA+9
HISTIEN HISTORY+4~, HISTORY+8*, HISTORY+9, HISTORY+16, HISTORY+17, HISTORY+18
>> I HISTORY+14*, BKLOOP+5*, BKLOOP+6*, NEWINT+14*, LSTCOMP+7*
ICNT BKREQA+2~, BKREQA+11*
IEN HISTORY+4~, HISTORY+6*, HISTORY+7
INDX NEWINT+2~, NEWINT+4*, NEWINT+5*, NEWINT+9*, NEWINT+10*
ITEST BKLOOP+12~, BKLOOP+15*
LSTAGE BKREQU+9*, BKREQU+11, BKREQU+13*, BKREQU+16, BKREQU+17!, BKOUT+4*, BKOUT+6, BKOUT+7, BKOUT+8, BKOUT+9!
, BKREQA+6*, BKREQA+9, BKREQA+17!, BKLOOP+8*, BKLOOP+11, BKLOOP+13, BKGNDZ+2!
LSTID ACTIVE+5~, ACTIVE+8, FOREGND+3, HISTORY+2, BKREQU+16, BKOUT+7, BKREQA+5, BKREQA+15, BKLOOP+3
LSTNAM ERR1, ACTIVE+5~, BKREQU+9, BKREQU+13, BKREQU+16, BKOUT+4, BKOUT+6, BKOUT+7, BKOUT+8, BKREQA+6
, BKREQA+9, BKREQA+11, BKLOOP+5, BKLOOP+6, BKLOOP+8, LSTCOMP+2, LSTCOMP+9, LSTCOMP+10, LSTCOMP+11, LSTCOMP+12
, LSTCOMP+13, LSTCOMP+16, LSTCOMZ, CURLIST~, CURLIST+7
LSTNM BKOUT~, BKOUT+6, BKOUT+8
LSTNUM ACTIVE+5~, BKREQU+9*, BKREQU+13*, BKREQU+15, BKREQU+16, BKOUT+4*, BKOUT+5, BKOUT+6*, BKOUT+7, BKOUT+8
, BKREQA+6*, BKREQA+7, BKREQA+8*, BKREQA+9, BKREQA+10, BKREQA+11, BKLOOP+8*, BKLOOP+9*, LSTCOMP+6
LSTPARAM ACTIVE+5~, FOREGND+2, HISTORY+1, LSTCOMP+10
LSTREQ ACTIVE+5~, ACTIVE+35, ACTIVE+36, ACTIVE+37, FOREGND+1, BKLOOP+11, BKLOOP+20, BKLOOP+21, BKGNDZ, CURLIST+6
MAGGRY ERR+1*, ACTIVE~, ACTIVE+8*, ACTIVE+11, ACTIVE+15, ACTIVE+31, ACTIVE+32, ACTIVE+33, ACTIVE+34*, FOREGND+3
HISTORY+2, BKREQU+15*, BKREQU+16, BKOUT+7, BKOUT+8*, BKREQA+15, BKREQA+16*, LSTCOMP+10
>> MAGJOB("P32" ACTIVE+34
>> MAGJOB("P32STOP" ACTIVE+34
MAGLST ACTIVE+5~, FOREGND+2, FOREGND+3, HISTORY+1, HISTORY+2, HISTORY+5, HISTORY+6, HISTORY+19
MSG BKOUT+1~*, BKOUT+6*, BKOUT+7, BKREQA+2~, BKREQA+3*, BKREQA+9*, BKREQA+15
NEWLIST LSTCOMP+5~, LSTCOMP+6*, LSTCOMP+9, LSTCOMP+10, LSTCOMP+11, LSTCOMP+12, LSTCOMP+13
PC HISTORY+4~, HISTORY+14*
REC1 HISTORY+4~, HISTORY+6*, HISTORY+7, HISTORY+17
REC2 HISTORY+4~, HISTORY+6*, HISTORY+7, HISTORY+8, HISTORY+13, HISTORY+16*, HISTORY+17
REPLY BKREQA+2~, BKREQA+4*, BKREQA+16
RET CURLIST+5~, CURLIST+8*, CURLIST+9*, CURLIST+10*, CURLISZ
START CURLIST+5~, CURLIST+6*
T LSTCOMP+15*, LSTCOMP+16!
T1 LSTCOMP+15*, LSTCOMP+16!
T2 LSTCOMP+15*, LSTCOMP+16!
TEST BKLOOP+12~, BKLOOP+13*, BKLOOP+15
TMP HISTORY+4~, HISTORY+13*, HISTORY+14*, HISTORY+15*, HISTORY+16
TRY CURLIST+5~, CURLIST+6*
TS LSTCOMP+5~, LSTCOMP+7*, LSTCOMP+8
U ACTIVE+7, ACTIVE+24, ACTIVE+27, ACTIVE+33, HISTORY+14, HISTORY+15, BKREQU+9, BKREQU+13, BKOUT+4, BKOUT+6
, BKREQA+6, BKREQA+8, BKREQA+13, BKREQA+14, BKGNDA*, BKLOOP+8, BKLOOP+9, BKLOOP+16, NEWINT+11, NEWINT+14
, LSTCOMP+7, LSTCOMP+8, LSTCOMP+11, LSTCOMP+12, LSTCOMP+13, CURLIST+9, CURLIST+10
V ACTIVE+21~*, ACTIVE+24*, ACTIVE+27*, ACTIVE+30
WAIT CURLIST~, CURLIST+4*
X ACTIVE+21~, ACTIVE+24*, HISTORY+9*, HISTORY+10, HISTORY+11, BKREQU+9*, BKREQU+13*, BKOUT+4*, BKOUT+6, BKREQA+6*
, BKREQA+8, BKREQA+11*, BKLOOP+4*, BKLOOP+6, BKLOOP+8*, BKLOOP+9, NEWINT+5*, NEWINT+10*, NEWINT+11, NEWINT+14
, CURLIST+5~, CURLIST+7*, CURLIST+8, CURLIST+9, CURLIST+10*, DELTA~, DELTA+3, DELTA+5, DELTA+6*, DELTA+7
XX ACTIVE+21~, ACTIVE+24*, ACTIVE+27*
Y BKREQA+11*, DELTA~, DELTA+2*, DELTA+3, DELTA+5*, DELTA+6*, DELTA+7
ZTDESC BKREQU+6~, BKREQU+7*
ZTDTH BKREQU+6~, BKREQU+8*
ZTIO BKREQU+6~, BKREQU+8*
ZTQUEUED BKGERR!, BKLOOP+17
ZTREQ BKGNDZ+1~*
ZTRTN BKREQU+6~, BKREQU+7*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All