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 |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: PRCPRUSP

Package: IFCAP

Routine: PRCPRUSP


Information

PRCPRUSP ;WISC/RFJ/VAC-usage demand item report (print report) ; 3/6/07 9:00am

Source Information

Source file <PRCPRUSP.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
IFCAP 3 ($$SCRPAUSE,END,P)^PRCPUREP  $$DESCR^PRCPUX1  $$ODITEM^PRCPUX2  
Kernel 2 ^%ZISC  $$S^%ZTLOAD  
VA FileMan 2 DD^%DT  NOW^%DTC  

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

Package Total Caller Graph
IFCAP 1 PRCPRUSE  

Entry Points

Name Comments DBIA/ICR reference
V ;;5.1;IFCAP;**1,98**;Oct 20, 2000;Build 37
PRINT ; print report
USAGE ; display usage
H

External References

Name Field # of Occurrence
DD^%DT PRINT+1
NOW^%DTC PRINT+1
^%ZISC PRINT+46
$$S^%ZTLOAD PRINT+13, PRINT+24
$$SCRPAUSE^PRCPUREP PRINT+2
END^PRCPUREP PRINT+44
P^PRCPUREP PRINT+14, PRINT+26, PRINT+36, USAGE+15, USAGE+21, USAGE+26
$$DESCR^PRCPUX1 PRINT+37
$$ODITEM^PRCPUX2 PRINT+33, USAGE+8

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !?10,"<<< TASKMANAGER JOB TERMINATED BY USER >>>"
  • Line Location: PRINT+13
Function Call: WRITE
  • Prompt: !,$TR(NSN,"-"),?15,$E($P(DATA,"^"),1,15)
  • Line Location: PRINT+15
Function Call: WRITE
  • Prompt: !?10,"<<< TASKMANAGER JOB TERMINATED BY USER >>>"
  • Line Location: PRINT+24
Function Call: WRITE
  • Prompt: !!?5,"GROUP: ",$S(GROUP=" ":"<<NONE>>",1:GROUP)
  • Line Location: PRINT+27
Function Call: WRITE
  • Prompt: !,$E($$DESCR^PRCPUX1(PRCP("I"),ITEMDA),1,25)
  • Line Location: PRINT+37
Function Call: WRITE
  • Prompt: ?35,"D"
  • Line Location: USAGE+10
Function Call: WRITE
  • Prompt: !
  • Line Location: USAGE+15
Function Call: WRITE
  • Prompt: MONYR,$J(+$P(DATA,"^",2),7),$J(+$P(DATA,"^",3),10,2)
  • Line Location: USAGE+32
Function Call: WRITE
  • Prompt: !?4,"---------------------------------------- CUMULATIVE TOTAL"
  • Line Location: USAGE+36
Function Call: WRITE
  • Prompt: ?63,$J(TTOTUSED,7),$J(TTOTCOST,10,2),!
  • Line Location: USAGE+37
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: H+0
Function Call: WRITE
  • Prompt: $C(13),"USAGE DEMAND ITEM REPORT: ",$E(PRCP("IN"),1,20),?(80-$L(%)),%
  • Line Location: H+1
Function Call: WRITE
  • Prompt: !?5,"USAGE DATE RANGE FROM ",DATESTRD," TO ",DATEENDD," (",TOTALDAY," DAYS)"
  • Line Location: H+3
Function Call: WRITE
  • Prompt: !,?5,"STANDARD ITEMS ONLY"
  • Line Location: H+5
Function Call: WRITE
  • Prompt: !,?5,"ON-DEMAND ITEMS ONLY"
  • Line Location: H+6
Function Call: WRITE
  • Prompt: !,?5,"ALL ITEMS (STANDARD AND ON-DEMAND)"
  • Line Location: H+7
Function Call: WRITE
  • Prompt: !,"NSN",?15,"DESCRIPTION"
  • Line Location: H+8
Function Call: WRITE
  • Prompt: !,"DESCRIPTION"
  • Line Location: H+9
Function Call: WRITE
  • Prompt: ?27,"IM",?35,"OD",?40,"UNIT/IS",?53,"LAST $",?66,"AVG $",?73,"ON-HAND",!,%
  • Line Location: H+11
Function Call: WRITE
  • Prompt: ?31,"IM",?38,$J("UNIT/IS",8),$J("LAST $",12),$J("AVG $",12),$J("ON-HAND",9),!,%
  • Line Location: H+13

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PRCP(445 - [#445] USAGE+16, USAGE+27
^TMP($J PRINT+7, PRINT+9, PRINT+11, PRINT+12, PRINT+23, PRINT+29, PRINT+31, PRINT+32, PRINT+45!

Label References

Name Line Occurrences
H PRINT+2, PRINT+14, PRINT+26, PRINT+36, USAGE+15, USAGE+21, USAGE+26
USAGE PRINT+16, PRINT+38

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % PRINT+1, H*, H+1, H+2*, H+11, H+13
>> COLUMN USAGE+23*, USAGE+30*, USAGE+31, USAGE+33*
>> DATA PRINT+12*, PRINT+15, PRINT+32*, USAGE+3, USAGE+4, USAGE+5, USAGE+6, USAGE+11, USAGE+12, USAGE+13
USAGE+14, USAGE+27*, USAGE+29, USAGE+32
>> DATE USAGE+24*, USAGE+25*, USAGE+27, USAGE+28
>> DATEEND USAGE+25
>> DATEENDD H+3
>> DATESTRD H+3
>> DATESTRT USAGE+24
>> DESCR PRINT+8*, PRINT+9*, PRINT+11, PRINT+12, PRINT+28*, PRINT+29*, PRINT+31, PRINT+32
>> GROUP PRINT+22*, PRINT+23*, PRINT+27, PRINT+29, PRINT+31, PRINT+32
IO PRINT+2
IOF H
IOSL PRINT+14, PRINT+26, PRINT+36, USAGE+15, USAGE+21, USAGE+26
>> ITEMDA PRINT+10*, PRINT+11*, PRINT+12, PRINT+30*, PRINT+31*, PRINT+32, PRINT+33, PRINT+37, USAGE+2, USAGE+8
USAGE+9, USAGE+16, USAGE+27
>> MONYR USAGE+28*, USAGE+32
>> NOW PRINT+1*, H
>> NSN PRINT+6*, PRINT+7*, PRINT+9, PRINT+11, PRINT+12, PRINT+15
>> ODIFLG PRINT+34, PRINT+35, H+5, H+6, H+7
>> ODITEM PRINT+33*, PRINT+34, PRINT+35, USAGE+8*, USAGE+10
>> PAGE PRINT+2*, H*
>> PRCP("DPTYPE" PRINT+5, PRINT+21, USAGE+1, USAGE+7, H+4, H+8, H+10, H+12
>> PRCP("I" PRINT+33, PRINT+37, USAGE+8, USAGE+16, USAGE+27
>> PRCP("IN" H+1
>> PRCPFLAG PRINT+7, PRINT+9, PRINT+11, PRINT+13*, PRINT+14, PRINT+17, PRINT+19, PRINT+23, PRINT+24*, PRINT+25
PRINT+26, PRINT+29, PRINT+31, PRINT+36, PRINT+39, PRINT+40, PRINT+41, PRINT+42, PRINT+44, USAGE+15
USAGE+21, USAGE+22, USAGE+25, USAGE+26, USAGE+34
>> REORDER USAGE+16*, USAGE+17, USAGE+18, USAGE+19, USAGE+20
>> SCREEN PRINT+2*, PRINT+14, PRINT+26, PRINT+36, USAGE+15, USAGE+21, USAGE+26, H
>> TOTALDAY H+3
>> TOTCOST USAGE+23*, USAGE+29*, USAGE+35
>> TOTUSED USAGE+23*, USAGE+29*, USAGE+35
>> TTOTCOST USAGE+23*, USAGE+35*, USAGE+37
>> TTOTUSED USAGE+23*, USAGE+35*, USAGE+37
>> Y PRINT+1*
>> ZTQUEUED PRINT+13, PRINT+24
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All