MAGJLS2 ;WIRMFO/JHC - Rad. Workstation RPC calls ; 10/17/2022
Source file <MAGJLS2.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Imaging | 5 | MAGJ RADACTIVEEXAMS MAGJ SCHED RECENT LIST COMPILE MAGJLS2B MAGJLS3 MAGJLS4 |
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 | ;
|
Name | Field # of Occurrence |
---|---|
$$EC^%ZOSV | ERR |
^%ZTLOAD | BKREQU+8 |
$$S^%ZTLOAD | BKLOOP+17 |
QRYLOG^ISIJLS2 | FOREGND+14 |
$$MGRREV2^ISIJUTL9 | ACTIVE+37, BKREQA+7, BKREQA+14, BKGND2+1, BKLOOP+20, BKLOOP+21 |
LSTSTATU^ISIJUTL9 | ACTIVE+35 |
LSTOUT^MAGJLS2B | FOREGND+5, HISTORY+2, BKREQU+16, BKOUT+7, BKREQA+21 |
PARAMS^MAGJLS2B | ACTIVE+7, BKREQA+5, BKREQA+20, BKGNDA+3, BKLOOP+2 |
UPDR^MAGJLS2B | BKLOOP+21 |
BLDACTV^MAGJLS3 | FOREGND+2, HISTORY+1, BKREQA+15, LSTCOMP+10 |
MAGJOBNC^MAGJUTL3 | BKGNDA+2 |
$$HTFM^XLFDT | LSTCOMP+7 |
^XUSCLEAN | BKGERR |
RPC Name | Call Tags |
---|---|
MAGJ RADACTIVEEXAMS | ACTIVE |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^%ZOSF("ERRTN" | ERR+2 |
^MAG(2006.69 - [#2006.69] | ACTIVE+35, BKLOOP+16 |
^TMP($J | ERR*, ERR+1, ACTIVE+8, BKREQU+15, BKOUT+8, BKREQA+13*, BKREQA+16*, BKREQA+19*, BKREQA+21, BKREQA+22 , NEWINT+4, NEWINT+5*, NEWINT+10, NEWINT+11, NEWINT+16! |
^XTMP("MAGJ2" | ERR1, ERR1+1, FOREGND+4, FOREGND+8!, FOREGND+12*, FOREGND+13, HISTORY+7*, HISTORY+9, HISTORY+17*, HISTORY+18! , BKREQU+1, BKREQU+14, BKREQU+16, BKOUT+7, BKREQA+13, BKGND+1, BKLOOP+5!, BKLOOP+6*, BKGNDZ, NEWINT+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 |
Name | Line Occurrences |
---|---|
$$CURLIST | BKREQU+9, BKREQU+13, BKOUT+4, BKREQA+8, BKLOOP+8 |
$$DELTA | LSTCOMP+11, CURLIST+9 |
@( | ERR+2 |
BKGNDA | BKGND+3, BKGND2+2 |
BKGNDZ | BKLOOP+3, BKLOOP+7, BKLOOP+11 |
BKLOOP | BKLOOP+21 |
BKOUT | BKREQU+2, BKREQR+1 |
BKREQA | ACTIVE+38 |
BKREQR | ACTIVE+37 |
BKREQU | ACTIVE+36 |
CURLISZ | CURLIST+8 |
FOREGND | ACTIVE+37, ACTIVE+41 |
HISTORY | FOREGND+1 |
LSTCOMP | BKREQU+12, BKLOOP+19 |
LSTCOMZ | LSTCOMP+3 |
NEWINT | BKLOOP+20 |
>> | 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+12*, BKREQA+18, BKREQA+22 |
BKGLSTID | BKGND+3~*, BKGND2+2~*, BKGNDA+3 |
BKGND | ACTIVE+5~, ACTIVE+36, ACTIVE+37, ACTIVE+38, 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+13*, BKREQA+16*, BKREQA+19 |
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+38, BKREQA~, BKREQA+20, BKREQA+22 |
DATA01 | ACTIVE+5~, ACTIVE+7*, ACTIVE+14, ACTIVE+18, FOREGND+3, FOREGND+7 |
DELTA | BKREQU+11, BKLOOP+11, BKLOOP+13, BKGNDZ+2!, CURLIST+10 |
DUZ | FOREGND+4, FOREGND+8, FOREGND+12, FOREGND+13, 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+7, BKREQA+11, BKREQA+14 |
HISTIEN | HISTORY+4~, HISTORY+8*, HISTORY+9, HISTORY+16, HISTORY+17, HISTORY+18 |
I | FOREGND+9~*, FOREGND+10*, FOREGND+12, HISTORY+14*, BKLOOP+5*, BKLOOP+6*, NEWINT+14*, LSTCOMP+7* |
ICNT | BKREQA+2~, BKREQA+13*, BKREQA+16* |
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+8*, BKREQA+11, BKREQA+23!, BKLOOP+8*, BKLOOP+11, BKLOOP+13, BKGNDZ+2! |
LSTID | ACTIVE+5~, ACTIVE+8, ACTIVE+35, FOREGND+5, HISTORY+2, BKREQU+16, BKOUT+7, BKREQA+5, BKREQA+21, BKLOOP+3 |
LSTNAM | ERR1, ACTIVE+5~, BKREQU+9, BKREQU+13, BKREQU+16, BKOUT+4, BKOUT+6, BKOUT+7, BKOUT+8, BKREQA+8 , BKREQA+11, BKREQA+13, 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+8*, BKREQA+9, BKREQA+10*, BKREQA+11, BKREQA+12, BKREQA+13, BKLOOP+8*, BKLOOP+9*, LSTCOMP+6 |
LSTPARAM | ACTIVE+5~, FOREGND+2, HISTORY+1, BKREQA+15, LSTCOMP+10 |
LSTREQ | ACTIVE+5~, ACTIVE+36, ACTIVE+37, ACTIVE+38, FOREGND+1, FOREGND+3, FOREGND+7, 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, FOREGND+5, FOREGND+9 , FOREGND+10, HISTORY+2, BKREQU+15*, BKREQU+16, BKOUT+7, BKOUT+8*, BKREQA+21, BKREQA+22*, LSTCOMP+10 |
>> MAGJOB("SESSION" | FOREGND+4, FOREGND+8, FOREGND+12, FOREGND+13 |
MAGLST | ACTIVE+5~, FOREGND+2, FOREGND+5, HISTORY+1, HISTORY+2, HISTORY+5, HISTORY+6, HISTORY+19, BKREQA+15, BKREQA+16 |
MSG | BKOUT+1~*, BKOUT+6*, BKOUT+7, BKREQA+2~, BKREQA+3*, BKREQA+11*, BKREQA+21 |
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+22 |
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, ACTIVE+35, FOREGND+11, HISTORY+14, HISTORY+15, BKREQU+9, BKREQU+13 , BKOUT+4, BKOUT+6, BKREQA+8, BKREQA+10, BKREQA+19, BKREQA+20, 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* |
WRNMSG | FOREGND+3~, FOREGND+4*, FOREGND+5 |
X | ACTIVE+21~, ACTIVE+24*, FOREGND+9~, FOREGND+10*, FOREGND+11*, FOREGND+13, HISTORY+9*, HISTORY+10, HISTORY+11, BKREQU+9* , BKREQU+13*, BKOUT+4*, BKOUT+6, BKREQA+8*, BKREQA+10, BKREQA+13*, BKREQA+16*, 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 |
X2 | FOREGND+9~, FOREGND+11*, FOREGND+12 |
XX | ACTIVE+21~, ACTIVE+24*, ACTIVE+27* |
Y | BKREQA+13*, BKREQA+16*, DELTA~, DELTA+2*, DELTA+3, DELTA+5*, DELTA+6*, DELTA+7 |
>> Z | BKREQA+13*, BKREQA+16* |
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* |