DGPPRP5 ;LIB/MKN - PRESUMPTIVE PSYCHOSIS FISCAL YEAR REPORT ;08/15/2019
Source file <DGPPRP5.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 |
---|---|---|
Registration | 1 | DG PRESUMP. PSYCH. FISCAL YEAR |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ;entry point from Menu Option: PRESUMPTIVE PSYCHOSIS FISCAL YEAR REPORT
|
|
SELFY | ;Select Fiscal Year(s)
|
|
SELFYQ | ;Select Quarters, or complete Fiscal Year
|
|
DQ | ;
|
|
DQ1 | ;
|
|
FMYR(YR) | ;
|
|
GETQM(YR,QRT,MTH) | ;
|
|
SETPER(DGPER,DGYRS,DGQRT,DGMTH) | ;
|
|
;Print out results
|
||
PRINT2 | ;
|
|
CHKPGHDR(LINES,OFFSET,INHIB) | ;Check if Page Header needs printing
|
|
HDR(OFFSET,INHIB) | ;
|
|
WHICHMTH(DGSELQ,DGSELM) | ;Heading shows All Months or just the one month
|
|
FY(DATE) | ; return a dates Fiscal Year
|
|
GETFISC(PROMPT) | ||
FRMYR | ;
|
|
TOYR | ;
|
|
INITTEMP(DGFISCFR,DGFISCTO,DGSELQ,DGSELM) | ;
|
|
GETMTH(D) | ;
|
|
GETQUART(MTH) | ;
|
|
GETMTHQ(MTH) | ;
|
|
GETMTHS(DGSELQ) | ;
|
|
GETMTHSN(DGSELQ) | ;
|
|
OUT | ; KILL RETURN ARRAY QUIT
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: READ |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^DPT - [#2] | GET1^DIQ |
^DGPP(33.1 - [#33.1] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DD("DD" | HDR+10 |
^DD(2 | HDR+4 |
^DGPP(33.1 - [#33.1] | DQ1+3, DQ1+5, DQ1+6 |
^TMP("DGPPRP5" | SELFYQ+12 |
Name | Line Occurrences |
---|---|
$$CHKPGHDR | PRINT+11, PRINT+20, PRINT+23, PRINT+27, PRINT+32, PRINT2+1 |
$$FMYR | SETPER+11 |
$$FY | FRMYR+4, FRMYR+5 |
$$GETFISC | SELFY+1 |
$$GETMTH | SELFYQ+10 |
$$GETMTHS | WHICHMTH+3 |
$$GETMTHSN | INITTEMP+4 |
$$GETQM | SETPER+12 |
$$GETQUART | DQ1+4, PRINT2+3, INITTEMP+7 |
$$WHICHMTH | HDR+8 |
DQ1 | DQ+4 |
HDR | PRINT+9, CHKPGHDR+5 |
OUT | DQ+5 |
DQ+5 | |
PRINT2 | PRINT+13 |
SETPER | SELFYQ+4, SELFYQ+11 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%DT | EN+2~ |
%ZIS | EN+2~, SELFYQ+20* |
%ZIS("B" | SELFYQ+20* |
D | GETMTH~, GETMTH+1 |
DATE | FY~, FY+2, FY+3, FY+4 |
DFN | EN+1~, DQ1+7*, DQ1+8 |
DGCAT | EN+1~, DQ1+5*, DQ1+6, PRINT+1~ |
DGCATL | PRINT+1~ |
DGDASH | PRINT+1~, PRINT+3*, PRINT+21, HDR+4*, HDR+13 |
DGDASH2 | PRINT+1~, PRINT+3*, PRINT+33 |
DGDEFDA | GETFISC+1~ |
DGDEFDT | EN+1~ |
DGDEFFY | GETFISC+1~, FRMYR+5*, FRMYR+6, TOYR+2 |
DGDIV | EN+1~ |
DGDT | EN+1~, DQ1+1~, DQ1+2*, DQ1+3*, DQ1+4, DQ1+5, DQ1+6 |
DGDT1 | SELFYQ+15*, SELFYQ+16, SELFYQ+17, SELFYQ+18, DQ+1~, DQ+3*, DQ+4, DQ1+2, HDR+1~, HDR+5* , HDR+6 |
DGDT2 | SELFYQ+16*, SELFYQ+17, SELFYQ+18, DQ+1~, DQ+4*, DQ1+3, HDR+1~, HDR+5*, HDR+6 |
DGDTDEF | EN+1~, FRMYR+3*, FRMYR+4 |
DGDTF | EN+1~ |
DGDTFRM | GETFISC+1~, FRMYR+8*, TOYR+2, TOYR+4 |
DGDTT | EN+1~ |
DGDTTO | GETFISC+1~, TOYR+4* |
DGDTYRS | EN+1~, SELFY+1*, SELFY+2, SELFY+5, SELFYQ+4, SELFYQ+11 |
DGF | PRINT+1~, PRINT+14*, PRINT+16, PRINT+17, PRINT+18 |
DGFIRST | GETFISC+1~, FRMYR+4*, FRMYR+6 |
DGFISCFR | EN+1~, SELFY+5*, INITTEMP~, INITTEMP+7 |
DGFISCTO | EN+1~, SELFY+5*, INITTEMP~, INITTEMP+7 |
DGFISCYR | EN+1~ |
DGFM | EN+1~, SELFYQ+18* |
DGHDR | PRINT+1~, PRINT+7*, PRINT+9, HDR+14* |
DGHDRDT | EN+1~, HDR+6*, HDR+9 |
DGI | EN+1~, INITTEMP+1~, INITTEMP+7* |
DGINC | EN+1~ |
DGM | PRINT+1~, PRINT+14*, PRINT+15, PRINT+17, PRINT+18, PRINT+28*, PRINT+29, HDR+1~, HDR+2* |
DGM1 | SETPER+6~ |
DGM2 | SETPER+6~ |
DGMF | PRINT+1~, PRINT+28*, PRINT+29*, PRINT+30 |
DGMM | PRINT+1~, PRINT+28*, PRINT+29*, PRINT+30 |
DGMTH | EN+1~, SELFYQ+18*, DQ1+4*, DQ1+10, SETPER~, SETPER+12, PRINT+1~, PRINT+10*, PRINT+12, PRINT+13 , PRINT+14, PRINT2+3 |
DGMTHC | PRINT+1~, PRINT+12*, PRINT+17 |
DGMTHFR | INITTEMP+1~, INITTEMP+2*, INITTEMP+5*, INITTEMP+6*, INITTEMP+7 |
DGMTHTO | INITTEMP+1~, INITTEMP+2*, INITTEMP+5*, INITTEMP+6*, INITTEMP+7 |
DGN | PRINT+1~ |
DGPER | EN+2~, SELFYQ+4, SELFYQ+11, SETPER~ |
DGPER( | SELFYQ+14, SELFYQ+15, SELFYQ+16, SELFYQ+17, DQ+2, DQ+3, DQ+4, SETPER+13*, HDR+5 |
DGQ | SETPER+6~, SETPER+10*, SETPER+11, SETPER+12, SETPER+13 |
DGQRT | EN+2~, SELFYQ+17*, SELFYQ+18, DQ1+4*, DQ1+10, SETPER~, SETPER+7, PRINT+1~, PRINT+8*, PRINT+10 , PRINT+14, PRINT+26*, PRINT+28, PRINT+29, PRINT+30 |
DGQRT1 | SETPER+6~, SETPER+7*, SETPER+10 |
DGQRT2 | SETPER+6~, SETPER+7*, SETPER+10 |
DGQRTTF | PRINT+1~, PRINT+8*, PRINT+16*, PRINT+21 |
DGQRTTM | PRINT+1~, PRINT+8*, PRINT+15*, PRINT+21 |
DGQSEL | DQ+1~ |
DGSELM | SELFYQ+4*, SELFYQ+10*, HDR+8, WHICHMTH~, WHICHMTH+2, WHICHMTH+4, INITTEMP~, INITTEMP+5, INITTEMP+6 |
DGSELMN | EN+2~, SELFYQ+10* |
DGSELQ | EN+2~, SELFYQ+4*, SELFYQ+5, SELFYQ+6, SELFYQ+11, PRINT+13, HDR+8, WHICHMTH~, WHICHMTH+3, INITTEMP~ , INITTEMP+2, INITTEMP+3, INITTEMP+4, GETMTHS~, GETMTHS+2, GETMTHSN~, GETMTHSN+2 |
DGSEX | EN+2~, DQ1+8*, DQ1+10, INITTEMP+1~, INITTEMP+7* |
DGTEMP | EN+2~, SELFYQ+12*, SELFYQ+18, DQ1+9, DQ1+10, PRINT+4, PRINT+6, PRINT+8, PRINT+10, PRINT+14 , PRINT+26, PRINT+28, PRINT+29, HDR+2, INITTEMP+7, OUT+2 |
DGTF | EN+2~, PRINT+6*, PRINT+16* |
DGTM | PRINT+1~, PRINT+6*, PRINT+15* |
DGTOT | PRINT+2~, PRINT+3*, PRINT+15*, PRINT+16*, PRINT+35 |
DGTTF | PRINT+1~ |
DGX | EN+2~, SELFYQ+6*, SELFYQ+7, SELFYQ+10*, SETPER+6~, SETPER+12*, SETPER+13, PRINT+2~, HDR+4*, HDR+7* , HDR+8*, HDR+10*, WHICHMTH+1~, WHICHMTH+3*, WHICHMTH+4, INITTEMP+1~, INITTEMP+4*, INITTEMP+5, INITTEMP+6, GETMTHS+1* , GETMTHS+2, GETMTHSN+1*, GETMTHSN+2 |
DGY | EN+2~, SETPER+6~, SETPER+8*, SETPER+11, SETPER+12, SETPER+13 |
DGY1 | SETPER+6~, SETPER+11*, SETPER+13 |
DGYR | SELFYQ+14*, SELFYQ+15, SELFYQ+16, SELFYQ+17, SELFYQ+18, DQ+1~, DQ+2*, DQ+3, DQ+4, DQ1+10 , PRINT+2~, PRINT+6*, PRINT+8, PRINT+10, PRINT+14, PRINT+26, PRINT+28, PRINT+29, PRINT+30, PRINT2+3 , HDR+2, HDR+5, INITTEMP+1~, INITTEMP+7* |
DGYRS | SETPER~, SETPER+8 |
DGYRTF | PRINT+1~, PRINT+7*, PRINT+16*, PRINT+33 |
DGYRTM | PRINT+1~, PRINT+7*, PRINT+15*, PRINT+33 |
DIR | SELFYQ+1!, SELFYQ+7!, SELFYQ+26!, PRINT+34!, CHKPGHDR+3!, FRMYR+6!, TOYR+2! |
DIR("A" | SELFYQ+2*, SELFYQ+8*, FRMYR+6*, TOYR+2* |
DIR("B" | SELFYQ+2*, SELFYQ+8*, FRMYR+6*, TOYR+2* |
DIR(0 | SELFYQ+1*, SELFYQ+7*, SELFYQ+26*, PRINT+34*, CHKPGHDR+3*, FRMYR+6*, TOYR+2* |
DIRUT | SELFYQ+3, SELFYQ+9, CHKPGHDR+4, GETFISC+1~, FRMYR+7, TOYR+3 |
DIRYT | CHKPGHDR+1~ |
DT | HDR+10, FRMYR+5 |
DTIME | PRINT+36 |
DTOUT | PRINT+34, GETFISC+1~ |
>> DUOUT | PRINT+34 |
EN3312 | DQ+1~ |
EXIT | EN+2~, SELFYQ+4*, SELFYQ+5, SELFYQ+9*, PRINT+2~, PRINT+5*, PRINT+6, PRINT+10, PRINT+11*, PRINT+13 , PRINT+19, PRINT+20*, PRINT+22, PRINT+23*, PRINT+26*, PRINT+27*, PRINT+32*, PRINT+34*, PRINT+35, PRINT+36 , PRINT2+1*, PRINT2+2, CHKPGHDR+1~, CHKPGHDR+2*, CHKPGHDR+3, CHKPGHDR+4*, CHKPGHDR+6 |
FY | FY+1~, FY+2*, FY+4 |
IEN331 | DQ1+1~, DQ1+6*, DQ1+7 |
INHIB | CHKPGHDR~, CHKPGHDR+2*, CHKPGHDR+5, HDR~, HDR+3*, HDR+13 |
IO | PRINT+34, CHKPGHDR+3 |
IO("Q" | SELFYQ+20!, SELFYQ+22 |
IO(0 | PRINT+34, CHKPGHDR+3 |
IOF | PRINT+36, HDR+7 |
IOM | PRINT+34 |
IOP | SELFYQ+20! |
IOSL | CHKPGHDR+3 |
IOST | PRINT+34, PRINT+36, CHKPGHDR+3 |
LINES | CHKPGHDR~, CHKPGHDR+3 |
MTH | GETQM~, GETQM+2, GETQM+4, FY+1~, FY+3*, GETQUART~, GETQUART+1, GETMTHQ~, GETMTHQ+1 |
OFFSET | CHKPGHDR~, CHKPGHDR+2*, CHKPGHDR+5, HDR~, HDR+3*, HDR+13 |
OUT | GETFISC+1~, FRMYR+3*, TOYR+4*, TOYR+5 |
PAGE | EN+2~, SELFY+5*, HDR+11*, HDR+12 |
POP | EN+2~, SELFYQ+20*, SELFYQ+21 |
PROMPT | GETFISC~ |
QRT | GETQM~, GETQM+2, GETQM+3, FY+1~, FY+3*, FY+4 |
QRT1 | GETQM+1~, GETQM+3*, GETQM+4*, GETQM+5*, GETQM+7*, GETQM+8 |
U | SELFY+5, GETQM+5, GETQM+7, SETPER+8, SETPER+13, HDR+4, TOYR+4 |
X | EN+2~, PRINT+36* |
Y | SELFYQ+4, SELFYQ+10, SELFYQ+11, GETQM+1~, PRINT+2~, HDR+10*, GETFISC+1~, FRMYR+8, TOYR+4 |
YR | FMYR~, FMYR+1, GETQM~, GETQM+5, FY+1~, FY+2* |
ZTDESC | EN+2~, SELFYQ+23* |
ZTRTN | EN+2~, SELFYQ+23* |
ZTSAVE | EN+2~ |
ZTSAVE("DGDTFRM" | SELFYQ+24* |
ZTSAVE("DGDTFRMT" | SELFYQ+24* |
ZTSAVE("DGDTTO" | SELFYQ+24* |
ZTSAVE("DGRTYP" | SELFYQ+24* |
ZTSAVE("ZTREQ" | SELFYQ+24* |
ZTSK | EN+2~, SELFYQ+26 |