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 |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: RMPR5N2

Package: Prosthetics

Routine: RMPR5N2


Information

RMPR5N2 ;HIN/RVD-PRINT INVENTORY BALANCE BY LOCATION ;3/17/03 13:19

Source Information

Source file <RMPR5N2.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Kernel 4 (,HOME)^%ZIS  ^%ZISC  ^%ZTLOAD  KILL^XUSCLEAN  
VA FileMan 3 (,DD)^%DT  ^DIC  ^DIR  
Prosthetics 1 DIV4^RMPRSIT  

Entry Points

Name Comments DBIA/ICR reference
EN
EN1
CONT
PRINT
C
CK
WRI
HEAD
HEAD1
ALL ;PROCESS ALL LOCATION
EXIT
EXIT1
NONE

External References

Name Field # of Occurrence
^%DT RMPR5N2+4
DD^%DT RMPR5N2+4
^%ZIS CONT
HOME^%ZIS EN
^%ZISC EXIT1
^%ZTLOAD CONT+2
^DIC EN1+3
^DIR WRI+21, HEAD1EXIT
DIV4^RMPRSIT RMPR5N2+3
KILL^XUSCLEAN EXIT1+1

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Formatting: !!
  • Prompt: "Enter 'ALL' for all Locations or 'RETURN' to select individual Locations: "
  • Variable: RMENTER
  • Timeout: DTIME
  • Line Location: EN1+0
Function Call: WRITE
  • Prompt: !
  • Line Location: EN1+3
Function Call: WRITE
  • Prompt: $C(7)," ??",?40,"..Duplicate Location"
  • Line Location: EN1+5
Function Call: WRITE
  • Prompt: !!,"Processing report....."
  • Line Location: PRINT+0
Function Call: WRITE
  • Prompt: !,RMHCPC,?9,RMITEM,?37,RMSO,?41,RMVEN,?55,RMUNI,?74,$J(RMBA,5)
  • Line Location: WRI+17
Function Call: WRITE
  • Prompt: !,RMHCPC,?9,RMITEM,?37,RMSO,?41,RMVEN,?55,RMUNI,?58,$J(RMRLE,4),?65,$J(RMAV,8,2),?74,$J(RMBA,5),RMAST
  • Line Location: WRI+18
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: WRI+21
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: WRI+22
Function Call: WRITE
  • Prompt: !,"*** PROSTHETICS INVENTORY BALANCE BY LOCATION ***",?68,"PAGE: ",RMPAGE,!,"Run Date: ",RMDAT,?30,"station: ",$E($P($G(^DIC(4,RS,0)),U,1),1,20)
  • Line Location: HEAD+0
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HEAD1+0
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HEAD1+1
Function Call: WRITE
  • Prompt: !,RMPR("L")
  • Line Location: HEAD1+2
Function Call: WRITE
  • Prompt: !,"Location: ",RP
  • Line Location: HEAD1+3
Function Call: WRITE
  • Prompt: !,?54,"UNIT",?60,"RE-"
  • Line Location: HEAD1+4
Function Call: WRITE
  • Prompt: !,?55,"OF",?59,"ORDER",?68,"AVG",?75,"CUR"
  • Line Location: HEAD1+5
Function Call: WRITE
  • Prompt: !,"HCPCS",?9,"ITEM",?36,"SRC",?41,"VENDOR",?53,"ISSUE",?59,"LEVEL",?68,"COST",?75,"BAL"
  • Line Location: HEAD1+6
Function Call: WRITE
  • Prompt: !,"-----",?9,"----",?36,"---",?41,"------",?53,"-----",?59,"-----",?67,"------",?74,"-----"
  • Line Location: HEAD1+7
Function Call: WRITE
  • Prompt: !
  • Line Location: EXIT+0
Function Call: WRITE
  • Prompt: !!,"NO DATA !!!!"
  • Line Location: NONE+0
Routine Call
  • DIC
  • Line Location:
    • EN1+3
Routine Call
  • DIR
  • Line Location:
    • WRI+21
    • HEAD1
    • EXIT
Routine Call
  • %ZIS
  • Line Location:
    • CONT
Routine Call
  • %ZIS
  • Line Location:
    • EN

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^RMPR(661.3 - [#661.3] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("UPPERCASE" EN1+2
^DIC(4 - [#4] HEAD
^PRC(440 - [#440] WRI+14
^PRCD(420.5 - [#420.5] WRI+13
^RMPR(661.1 - [#661.1] CK+2, CK+3
^RMPR(661.3 - [#661.3] EN1+4, CKCK+1, ALL+1, ALL+2, ALL+3
^TMP($J EN!, C+3, CK+6*, WRI

Label References

Name Line Occurrences
ALL PRINT+1
CK C
CONT EN1+2
EN1 EN1+1
EXIT PRINT+2, C+1, C+3
EXIT1 EN1EN1+3, CONTCONT+2
HEAD C+3, WRI+21, WRI+22, HEAD1HEAD1+1
HEAD1 WRI+1, WRI+21, WRI+22
NONE PRINT+2, C+3
PRINT CONT
WRI C+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %ZIS CONT*
>> DIC EN*
>> DIC("A" EN1+3*
>> DIC("S" EN*
>> DIC(0 EN*
>> DIR(0 WRI+21*, HEAD1*, EXIT*
DTIME EN1
>> DTOUT EN1EN1+3, WRI+21, HEAD1
>> DUOUT EN1
IO CONT
IO("Q" CONTCONT+1!
IOF C+2, WRI+21, WRI+22, HEAD1HEAD1+1
ION CONT+1
IOP CONT!
IOSL WRI+21, WRI+22, HEAD1HEAD1+1
IOST PRINTC+2, WRI+21, HEAD1HEAD1+1, EXIT
>> J CK+1*, WRI*, WRI+3
>> K CK+1*, WRI*, WRI+4
>> POP CONT
>> RB C*, CK+6
>> RLOC ALL+2*, ALL+3
>> RM1 CK+3*
>> RM3 CK+1*, CK+4, CK+5, WRI*, WRI+2, WRI+5, WRI+6, WRI+7, WRI+8, WRI+9
WRI+10, WRI+11, WRI+12
>> RMAST WRI*, WRI+16*, WRI+19
>> RMAV CK+5*, CK+6, WRI+5*, WRI+19
>> RMBA CK+4*, CK+6, WRI+6*, WRI+16, WRI+19
>> RMCO CK+4*, CK+6, WRI+7*
>> RMDAHC CK+2*, CK+3
>> RMDAIT CK+2*, CK+3
>> RMDAT RMPR5N2+4*, HEAD
>> RMDI CK+5*, CK+6, WRI+11*
>> RMENTER EN1*, EN1+1, EN1+2*
>> RMHCPC CK+2*
>> RMIT CK+1*, CK+2, CK+6, WRI+3*, WRI+19
>> RMITEM CK+3*, CK+6, WRI+4*, WRI+15*, WRI+19
>> RML EN1+3*, EN1+5*, ALL+1*, ALL+2, ALL+3
>> RMLIEN C*, CKCK+1, CK+6
>> RMLOCI EN1+4*, EN1+5, EN1+6
>> RMLODA WRI+2*
>> RMPAGE PRINT+1*, HEADHEAD+1*
RMPR EXIT1+1~
RMPR("L" HEAD1+2
RMPR("STA" PRINT+1, ALL+3
>> RMPREND EN*, PRINT+1*, CC+1, WRIWRI+21*, HEAD1*, EXIT
RMPRFLG EN!, WRI!, WRI+1, WRI+20*, HEAD1+8*
RMPRI EN!, CONTPRINT+2
RMPRI( EN1+5, EN1+6*, CALL+3*
RMPRI(0 EN1+2*, PRINT+1, ALL+1!
RMPRSITE EXIT1+1~
>> RMRLE CK+5*, CK+6, WRI+10*, WRI+16, WRI+19
>> RMSO CK+5*, CK+6, WRI+12*, WRI+19
>> RMUNI CK+4*, CK+6, WRI+8*, WRI+13*, WRI+19
>> RMVEN CK+4*, CK+6, WRI+9*, WRI+14*, WRI+15*, WRI+19
>> RP WRI*, HEAD1+3
>> RS PRINT+1*, HEAD
U EN1+4, CK+1, CK+3, CK+4, CK+5, WRI+2, WRI+5, WRI+6, WRI+7, WRI+8
WRI+9, WRI+10, WRI+11, WRI+12, WRI+13, WRI+14, HEADALL+3
>> X RMPR5N2+4*, EN1+2*, EN1+3
>> Y RMPR5N2+3, RMPR5N2+4, EN1+2, EN1+4, EN1+6, WRI+21, HEAD1
>> ZTDESC CONT+1*
>> ZTIO CONT+1*
>> ZTRTN CONT+1*
>> ZTSAVE("RMDAT" CONT+1*
>> ZTSAVE("RMPR(" CONT+1*
>> ZTSAVE("RMPR(""STA"")" CONT+1*
>> ZTSAVE("RMPRI(" CONT+1*
>> ZTSK CONT+2
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All