PSJORP2 ;BIR/JCH-CALCULATE FIRST DOSE FOR OE/RR 3.0 ; 4/12/10 8:59am
Source file <PSJORP2.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 |
Name | Comments | DBIA/ICR reference |
---|---|---|
ENQ(PSGP,INFO) | ; start
; INFO (piece 1) = START DATE/TIME ; INFO (piece 2) = STOP DATE/TIME ; INFO (piece 3) = SCHEDULE ; INFO (piece 4) = SCHEDULE TYPE ; INFO (piece 5) = ORDERABLE ITEM ; INFO (piece 6) = ADMIN TIMES |
|
OS(PSGP,PSGST) | ; order record set
|
|
DTS(SCHEDULE) | ;
|
|
PRT(PSGTS) | ; order info
|
|
FIRST | ; find expected first dose
|
|
LAST | ; find expected last dose
|
|
TS(X) | ;
|
|
LASTAT(PSGP,INFO) | ;
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PS(59.6 - [#59.6] | ENQ+28 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> % | ENQ+23 |
ADMIN | FIRST+1~, FIRST+9*, FIRST+10, LAST+1~, LAST+4*, LAST+5 |
AM | DTS+6*, DTS+7! |
D | ENQ+15~ |
DA | ENQ+15~ |
DCAL | ENQ+18*, ENQ+19~* |
>> FD | OS+2*, OS+5, DTS+4, DTS+6 |
FIRST | ENQ+9~, ENQ+11*, ENQ+27*, ENQ+28*, ENQ+30, FIRST+1*, FIRST+5, FIRST+7*, FIRST+8, FIRST+9 , FIRST+11* |
>> HX | ENQ+22* |
INFO | ENQ~, ENQ+10, ENQ+13, ENQ+15, FIRST+5, LASTAT~, LASTAT+1, LASTAT+2 |
>> LAST | ENQ+26*, LAST+1*, LAST+4, LAST+6* |
>> LASTAT | LASTAT+1*, LASTAT+2*, LASTAT+4 |
LSTDT | LASTAT+1~ |
>> P(9 | FIRST+2*, LAST+2* |
PSGAT | ENQ+15~ |
PSGD | ENQ+22!, ENQ+25, ENQ+29!, LASTAT+3! |
PSGD( | ENQ+22*, OS+4, OS+5, DTS+2, FIRST+9, FIRST+11, LAST+4, LAST+6 |
PSGDF | ENQ+9~, ENQ+21*, ENQ+22 |
PSGDT | ENQ+15~, ENQ+23* |
>> PSGDW | ENQ+22* |
PSGED | ENQ+9~, ENQ+24* |
PSGFD | ENQ+9~, ENQ+10*, ENQ+16*, ENQ+26, DTS+4, DTS+6, FIRST+7, FIRST+11, LAST+6 |
PSGGD | ENQ+29!, PRT+1*, FIRST+2~*, FIRST+11, LAST+2~*, LAST+6, LASTAT+3! |
PSGLFFD | FIRST+2~*, LAST+2~* |
PSGNEFD | ENQ+9~, ENQ+10*, ENQ+16*, ENQ+21, OS+1, OS+2 |
PSGNESD | ENQ+9~, ENQ+10*, ENQ+21, OS+1, OS+6 |
>> PSGOC | PRT+3* |
PSGOES | ENQ+15~* |
>> PSGOSD | DTS+3, DTS+4, DTS+6, FIRST+5 |
PSGP | ENQ~, ENQ+24, OS~, LASTAT~, LASTAT+1 |
PSGS | ENQ+9~, ENQ+20*, OS+1, DTS+6*, DTS+7! |
PSGS0XT | ENQ+9~, ENQ+11*, ENQ+14, ENQ+16, OS+2, OS+6 |
PSGS0Y | ENQ+9~, ENQ+10*, ENQ+13*, ENQ+15~, ENQ+17*, ENQ+19*, ENQ+28, OS+6*, OS+7 |
PSGSCH | ENQ+9~, ENQ+10*, ENQ+12, ENQ+14, ENQ+17, OS+1, OS+3, OS+4 |
PSGSD | ENQ+9~, ENQ+10*, ENQ+12, ENQ+16, ENQ+17, ENQ+18, ENQ+19, ENQ+22, ENQ+24, ENQ+27 , ENQ+28, DTS+3, DTS+5, FIRST+7, FIRST+11, LAST+6 |
PSGST | ENQ+9~, ENQ+10*, ENQ+11*, ENQ+15~, ENQ+17, ENQ+20, ENQ+24, OS~, DTS+1 |
PSGSTODD | ENQ+9~, FIRST+5 |
PSGSTODD( | DTS+6*, FIRST+5, FIRST+6 |
PSGT | DTS+3*, DTS+4, DTS+5!*, DTS+6, DTS+7! |
PSGTS | PRT~, PRT+1*, PRT+2, FIRST+3, LAST+3 |
PSGX | DTS+6*, DTS+7! |
PSJLSTAT | ENQ+14, ENQ+16, ENQ+26, PRT+2, LASTAT+1~* |
PSJNSS | ENQ+15~ |
>> PSJPSTO | PRT+1* |
PSJPWD | ENQ+15~, ENQ+28 |
>> PSJSYSW0 | ENQ+17 |
PST | ENQ+9~, ENQ+10*, ENQ+24*, OS+3, PRT+1, FIRST+2, LAST+2 |
Q | ENQ+22*, ENQ+29!, DTS+2*, FIRST+5*, FIRST+6, FIRST+9*, FIRST+10, FIRST+11, LAST+4*, LAST+5 , LAST+6, TS+1*, LASTAT+3! |
ENQ+29!, OS+4*, OS+5*, OS+7, DTS+2*, DTS+4*, LASTAT+3! | |
QST | ENQ+29!, OS+3*, OS+4, OS+7, LASTAT+3! |
QTS | FIRST+1~, FIRST+6*, FIRST+7, FIRST+10*, FIRST+11, LAST+1~, LAST+5*, LAST+6 |
S | ENQ+29!, OS+5, DTS+1!*, DTS+2*, DTS+4*, DTS+6*, LASTAT+3! |
S( | OS+5, DTS+2*, DTS+4*, DTS+6* |
SCHEDULE | DTS~, DTS+1, DTS+3 |
SCHFREQ | ENQ+9~ |
>> SD | OS+1*, OS+4*, OS+5, DTS+3*, DTS+4, DTS+5 |
ST | DTS+5*, DTS+6*, DTS+7! |
>> T | OS+2*, DTS+3, DTS+5 |
TEST | ENQ+15~ |
TS | ENQ+9~, ENQ+29!, FIRST+3, LAST+3, TS+1!*, LASTAT+3! |
TS( | FIRST+9, FIRST+10, LAST+4, LAST+5, TS+1* |
U | ENQ+10, ENQ+22, OS+5, OS+7, DTS+2, FIRST+5 |
VALMBCK | ENQ+15~ |
>> WD | DTS+1*, DTS+2, DTS+3*, DTS+4, DTS+6 |
X | ENQ+12*, ENQ+15~*, ENQ+16, ENQ+21, ENQ+22*, ENQ+26, ENQ+29!, OS+4*, OS+5, OS+7* , DTS+3*, DTS+4*, DTS+5, DTS+6*, TS~, TS+1, LASTAT+3! |
>> X1 | ENQ+16*, ENQ+21*, ENQ+22*, DTS+4*, DTS+5* |
>> X2 | ENQ+16*, ENQ+21*, ENQ+22*, DTS+4*, DTS+5* |