ABSPOSU8 ; IHS/FCS/DRS - utilities ;
Source file <ABSPOSU8.m>
| Package | Total | Call Graph | 
|---|---|---|
| VA Fileman | 3 | NOW^%DTC WAIT^DICD ^DIR | 
| Kernel | 2 | (,HOME)^%ZIS ^%ZTLOAD | 
| Pharmacy Point of Sale | 2 | ($$TOSCREEN,PRESSANY)^ABSPOSU5 WCENTER^ABSPOSU9 | 
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| PAUSE() | ;3/31/93 | |
| HEADER(PROGRAM,TITLE1,TITLE2,RUNTIME,NOFF,UL) | ; ; This PROCEDURE accepts the routine name and titles and prints out a ; standard header with the run date and time,page and increments ; the page counter by 1. Page is initialized in function DEVICE. ; W @IOF if (to SCREEN) OR (to PRINTER after page 1) ; TITLE variable has special uses. I the calling routine ; send-in the TITLE-array (by setting TITLE(1)="LINE 1", TITLE(n)= ; "LINE n of title", and then D HEADER^WSHUTL("ROUTINE",.TITLE),"."), ; then the entire array of TITLE will be used (and TITLE2 will be ; ignored). You must send-in TITLE2="." ; RUNTIME has been added so that all pages of the report can ; have the same date.time. The calling report must send it in. ; NOFF (optional) - if it exists, then do NOT issue a FormFeed. ; This is necessary for reports that are controlled as a FileMan ; template... since FM issues its own FF, this routine should not. ; UL (opt) - is flag to print a 1-IOSL dashes after the header. ; DEFAULT is no-underline. S UL to 1 to print the underline. | |
| EOPQ(LINESBOT,PARAM,EOPXCODE) | ;EP - ; IN: LINESBOT = (optional) # of LINES from bottom (IOSL) before ; determining what to do next. I this is a CRT, we ; will ask user whether to continue; for printers, just ; continue. DEFAULT=6 ; PARAM = List of parameter codes (each may occur): ; "M" - Will display "-- More --" at bottom. ; EOPXCODE = xecutable code that will occur if this is the ; end of the page (like, D HEADER^ROU). | |
| STANDBY | ;  W a message to screen to "Please Wait" | |
| FMPAGE | ;at end of page | |
| ENDRPT() | ;EP - end of report.  Pause until user presses return (or timeout) | |
| DEVQ | ||
| DEVICE(DEV,RTN,TITLE,MULTI) | ;EP | |
| PAGE0 | ; This checks the IO device and issues a pagefeed if $Y>0 | 
| 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: 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 | 
 | 
| Name | Line Occurrences (* Changed, ! Killed) | 
|---|---|
| ^DD("DD" | HEADER+22 | 
| Name | Line Occurrences | 
|---|---|
| $$PAUSE | EOPQ+22 | 
| DEVQ | DEVICE+20, DEVICE+22 | 
| >> | Not killed explicitly | 
| * | Changed | 
| ! | Killed | 
| ~ | Newed | 
| Name | Field # of Occurrence | 
|---|---|
| % | EOPQ+14~, HEADER+22 | 
| >> %ZIS | DEVICE+16* | 
| >> %ZIS("A" | DEVICE+17* | 
| >> %ZIS("B" | DEVICE+18* | 
| >> DCOPIES | DEVQ+3*, DEVQ+8*, DEVQ+9*, DEVQ+10 | 
| DEV | DEVICE~, DEVICE+18 | 
| DIR | EOPQ+14~, PAUSE+4!, ENDRPT+3~, DEVQ+4!, DEVQ+7! | 
| DIR("A" | ENDRPT+5*, DEVQ+5* | 
| DIR("B" | DEVQ+6* | 
| DIR(0 | PAUSE+5*, ENDRPT+4*, DEVQ+5* | 
| EOPXCODE | EOPQ~, EOPQ+23 | 
| >> FLGSTOP | ENDRPT+2 | 
| I | DEVICE+13~, HEADER+34* | 
| IO | DEVICE+22, DEVICE+31, DEVQ, PAGE0+1, PAGE0+3, STANDBY+1 | 
| IO("Q" | DEVICE+22 | 
| IOF | ENDRPT+1, HEADER+20, FMPAGE+3 | 
| IOM | EOPQ+20, HEADER+24, HEADER+34 | 
| ION | DEVICE+24 | 
| IOSL | EOPQ+16, EOPQ+18 | 
| IOST | HEADER+20, FMPAGE+3 | 
| LINESBOT | EOPQ~, EOPQ+17*, EOPQ+18 | 
| MULTI | DEVICE~, DEVQ | 
| >> N | HEADER+30*, HEADER+31* | 
| NOFF | HEADER~, HEADER+20 | 
| >> PAGE | DEVICE+21*, HEADER+19*, HEADER+20, HEADER+21*, HEADER+24 | 
| PARAM | EOPQ~, EOPQ+20 | 
| >> POP | DEVICE+20 | 
| PROGRAM | HEADER~, HEADER+25 | 
| RTN | DEVICE~, DEVICE+16, DEVICE+23 | 
| RUNTIME | HEADER~, HEADER+22*, HEADER+23 | 
| TITLE | DEVICE~, DEVICE+25 | 
| TITLE1 | HEADER~, HEADER+27 | 
| TITLE1( | HEADER+31 | 
| TITLE2 | HEADER~, HEADER+26, HEADER+28, HEADER+29 | 
| UL | HEADER~, HEADER+32 | 
| X | EOPQ+14~, ENDRPT+3~, HEADER+18~ | 
| Y | EOPQ+14~, PAUSE+6, ENDRPT+3~, ENDRPT+7, DEVICE+13~, DEVICE+20*, DEVICE+22*, DEVICE+29*, DEVQ+2~, DEVQ+8 , DEVQ+9, DEVQ+10*, DEVQ+11, HEADER+22* | 
| >> ZTDESC | DEVICE+25* | 
| >> ZTIO | DEVICE+24* | 
| >> ZTQUEUED | DEVICE+28, DEVICE+29 | 
| >> ZTRTN | DEVICE+23* | 
| >> ZTSAVE("*" | DEVICE+26* | 
| >> ZTSAVE("PAGE" | DEVICE+15* |