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

Package: National Drug File

Routine: PSNEXC


Information

PSNEXC ;BIR/PTD&CCH&WRT-Report of attempted match drugs ;01/12/98 5:18 PM

Source Information

Source file <PSNEXC.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
Kernel 3 ^%ZIS  ^%ZISC  ^%ZTLOAD  
VA Fileman 1 ^%DT  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
National Drug File 1 PSNEXC  

Entry Points

Name Comments DBIA/ICR reference
TITLE
DVC
QUEUE
ENQ ;ENTRY POINT WHEN QUEUED
DONE
LOOP1
LOOP

External References

Name Field # of Occurrence
^%DT TITLE+2
^%ZIS DVC
^%ZISC QUEUE, DONE+1
^%ZTLOAD QUEUE

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This report should be run after the menu option ""Verify Matches"" and",!,"before the menu option ""Merge National Drug File Data Into Local File""."
  • Line Location: PSNEXC+2
Function Call: WRITE
  • Prompt: !,"It gives you a hard copy of the items from your local drug file for which",!,"a match was attempted, but no match was made from the National Drug File."
  • Line Location: PSNEXC+3
Function Call: WRITE
  • Prompt: !,"You may queue the report to print, if you wish.",!
  • Line Location: PSNEXC+4
Function Call: WRITE
  • Prompt: !,"No Data has been generated.",!,"The Match routine should be run before selecting this option.",!
  • Line Location: PSNEXC+5
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: DONE+1
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: TITLE+0
Function Call: WRITE
  • Prompt: !,?32,"REPORT OF ATTEMPTED MATCH DRUGS",!
  • Line Location: TITLE+1
Function Call: WRITE
  • Prompt: !,?55,"Date printed: ",Y,!,?55,"Page: ",PSNPGCT,!!
  • Line Location: TITLE+2
Function Call: WRITE
  • Prompt: !,"LOCAL DRUG NAME",?42,"INACTIVE",?65,"DEA",!
  • Line Location: TITLE+3
Function Call: WRITE
  • Prompt: "-"
  • Line Location: TITLE+4
Function Call: WRITE
  • Prompt: !!,PSNOLD
  • Line Location: LOOP1+0
Function Call: WRITE
  • Prompt: ?42,Y
  • Line Location: LOOP1+0
Function Call: WRITE
  • Prompt: ?65,$P(^PSDRUG(PSNB,0),"^",3)
  • Line Location: LOOP1+1
Routine Call
  • %ZIS
  • Line Location:
    • DVC

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" TITLE+2, LOOP1
^PSDRUG - [#50] LOOP1, LOOP1+1
^PSNTRAN - [#50.612] PSNEXC+5, LOOP

Label References

Name Line Occurrences
DONE DVC
DVC DVC
LOOP ENQ+2
LOOP1 LOOP
TITLE ENQ+2, LOOP

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS DVC!*, QUEUE!
%ZIS("A" DVC*
%ZIS("B" DVC*
IO ENQ+1
IO("Q" DVC!, QUEUE!, DONE+1!
IOF DONE+1, TITLE
IOP DVC!, QUEUE!, DONE+1!
IOSL ENQ+2
IOST DVC
MJLT PSNEXC+5*!, QUEUE!, DONE+1!
MJT QUEUE!, DONE+1!, TITLE+4*
POP DVC!, QUEUE!, DONE+1!
PSNB DONE+1!, LOOP*, LOOP1, LOOP1+1
PSNDEA DONE+1!, LOOP1+1*
PSNOLD DONE+1!, LOOP1*
PSNPGCT ENQ+2*, DONE+1!, TITLE*, TITLE+2
PSNPGLNG ENQ+2*, DONE+1!, LOOP
PSNPRT ENQ+2*, DONE, DONE+1!, LOOP1*
VV DONE+1!, LOOP1+1*
>> X TITLE+2*
XYZ DONE+1!, LOOP1+1*
Y DONE+1!, TITLE+2, LOOP1*
>> ZTDESC QUEUE*
>> ZTDTH QUEUE*
>> ZTQUEUED DONE+1
>> ZTREQ DONE+1*
ZTRTN QUEUE*, DONE+1!
ZTSK QUEUE!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All