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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: ESPORP

Package: Police and Security

Routine: ESPORP


Information

ESPORP ;DALISC/CKA - PRINT OFFENSE REPORT;3/99

Source Information

Source file <ESPORP.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
VA FileMan 5 ^DIC  DT^DICRW  EN^DIQ1  ^DIWP  ^DIWW  
Kernel 2 (,HOME)^%ZIS  ^%ZTLOAD  
Police and Security 2 ^ESPORP1  ($$EOP,$$NOW)^ESPUTIL  

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

Package Total Caller Graph
Police and Security 10 ESP PRINT ANY OR  ESP PRINT OFFENSE REPORT  ESPOFFE  ESPOFI  ESPORP1  ESPORP2  ESPORP3  ESPORP4  
ESPORP5  ESPQNC  

Entry Points

Name Comments DBIA/ICR reference
EN ;Entry point to print only completed and nonsensitive reports.
OR
Q
START ; BEGINS THE PRINT OF THIS OFFENSE REPORT
DTR
DTO
EDTO
LOC
WEAP
PO
MO
CL ;PRINT CLASSIFICATION CODES, TYPES, AND SUBTYPES
EXIT
HDR ;PRINT HEADING
OR1
LINES(COUNT) ;
MIN(COUNT) ;

External References

Name Field # of Occurrence
^%ZIS Q
HOME^%ZIS Q+1
^%ZTLOAD Q+1
^DIC OR+1, OR1+1
DT^DICRW EN+1
EN^DIQ1 START+3, CL+2
^DIWP MO+4
^DIWW MO+6
^ESPORP1 CL+7
$$EOP^ESPUTIL HDR+1
$$NOW^ESPUTIL HDR+9

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$C(7),"UOR# not found. Please try again."
  • Line Location: OR+3
Function Call: WRITE
  • Prompt: !,"RECORD DOESN'T EXIST!"
  • Line Location: START+3
Function Call: WRITE
  • Prompt: !,"DATE/TIME RECEIVED: ",$G(^UTILITY("DIQ1",$J,912,DA,.02,"E"))
  • Line Location: DTR+0
Function Call: WRITE
  • Prompt: !,"DATE/TIME OF OFFENSE: ",$G(^UTILITY("DIQ1",$J,912,DA,.03,"E"))
  • Line Location: DTO+0
Function Call: WRITE
  • Prompt: !,"ENDING DATE/TIME OF OFFENSE: ",$G(^UTILITY("DIQ1",$J,912,DA,.09,"E"))
  • Line Location: EDTO+0
Function Call: WRITE
  • Prompt: !,"LOCATION: ",$G(^UTILITY("DIQ1",$J,912,DA,.04,"E"))
  • Line Location: LOC+0
Function Call: WRITE
  • Prompt: !,"WEAPON USED: ",$G(^UTILITY("DIQ1",$J,912,DA,.05,"E"))
  • Line Location: WEAP+0
Function Call: WRITE
  • Prompt: !,"INVESTIGATING OFFICER: ",$G(^UTILITY("DIQ1",$J,912,DA,.06,"E"))
  • Line Location: PO+0
Function Call: WRITE
  • Prompt: !,"METHOD OF OPERATION: ",!
  • Line Location: MO+1
Function Call: WRITE
  • Prompt: "CLASSIFICATION CODE: ",$G(^UTILITY("DIQ1",$J,912.01,DA,.01,"E"))
  • Line Location: CL+4
Function Call: WRITE
  • Prompt: "/",^("E")
  • Line Location: CL+5
Function Call: WRITE
  • Prompt: "/",^("E")
  • Line Location: CL+6
Function Call: WRITE
  • Prompt: !?25,"DEPARTMENT OF VETERANS AFFAIRS",?(IOM-10),"Page ",$J(PAGE,3)
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !?35,"VA POLICE",!?28,"UNIFORM OFFENSE REPORT"
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: !?30,"UOR# ",$E(ESPDTR,2,3),"-",$E(ESPDTR,4,5),"-",$E(ESPDTR,6,7),"-",$TR($E($P(ESPDTR,".",2)_"ZZZZ",1,4),"Z",0)
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: !!,"VA Facility"
  • Line Location: HDR+5
Function Call: WRITE
  • Prompt: ?61,"Date/Time Printed"
  • Line Location: HDR+5
Function Call: WRITE
  • Prompt: !,ESPFACI
  • Line Location: HDR+8
Function Call: WRITE
  • Prompt: ?61,$$NOW^ESPUTIL()
  • Line Location: HDR+9
Function Call: WRITE
  • Prompt: !,"Automated VA Form 10-1393"
  • Line Location: HDR+10
Function Call: WRITE
  • Prompt: !!
  • Line Location: HDR+11
Routine Call
  • %ZIS
  • Line Location:
    • Q
Routine Call
  • %ZIS
  • Line Location:
    • Q+1
Routine Call
  • DIC
  • Line Location:
    • OR+1
    • OR1+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ESP(912 - [#912] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(40.8 - [#40.8] HDR+6
^DIC(4 - [#4] HDR+7
^ESP(912 - [#912] OR+4, MO+2, CL+1, HDR+6, HDR+7, OR1+1
^UTILITY("DIQ1" START+2!, START+3, DTRDTOEDTOLOCWEAPPOPO+1, CL+2
CL+4, CL+5, CL+6, EXIT+1!
^UTILITY($J MO!

Label References

Name Line Occurrences
EXIT OR+2, QQ+1, START+2, START+3, MO+2, CL+1, OR1+1
HDR START+2, MO+3, LINES+8, MIN+7
LINES CL+3
MIN MO+5
OR OR+3
OR1 OR1+1
Q OR1+2
START Q

Naked Globals

Name Field # of Occurrence
^( MO+2
^("E" CL+5, CL+6
^(0 HDR+6, HDR+7
^(5 HDR+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS Q*, EXIT!
BADGE PO+1*, EXIT!
CL EXIT!
COUNT LINES~, LINES+5*, LINES+7, MIN~, MIN+6*, MIN+7
CRT LINES+4~, LINES+6*, LINES+8, MIN+4~, MIN+5*, MIN+6
DA START+3*, DTRDTOEDTOLOCWEAPPOPO+1, CL+2*, CL+4
CL+5, CL+6, EXIT!
DIC OR*, START+3*, CL+2*, EXIT!, OR1*
DIC("A" OR*, OR1*
DIC("S" OR*, OR1*
DIC(0 OR*, OR1*
DIQ EXIT!
DIQ(0 START+3*, CL+2*
DIR EXIT!
DIRUT EXIT!
DIWF MO*, EXIT!
DIWL MO*, EXIT!
DIWR MO*, EXIT!
DR START+3*, CL+2*, EXIT!
>> DTOUT OR+2, OR1+1
>> DUOUT OR+2, OR1+1
END START+2*, MO+2, MO+3, MO+5, CL+1, EXIT!, HDR+1*, LINES+7, LINES+8
ESPDTR OR+4*, EXIT!, HDR+4, OR1+1*
ESPFACI START+1~, HDR+6*, HDR+7*, HDR+8
ESPID OR+4*, START+3, MO+2, CL+1, CL+2, EXIT!, HDR+6, HDR+7, OR1+1*
ESPN MO+2*, CL+1*, CL+2, EXIT!
ESPN1 EXIT!
IEN MO*, MO+2*, EXIT!
INDEX LINES+4~, LINES+7*
IO Q
IO("Q" Q
IOF HDR+2
IOM HDR+2
IOSL MO+3, LINES+8, MIN+7
IOST HDR+1, LINES+6, MIN+5
PAGE START+2*, EXIT!, HDR+1, HDR+2*
>> POP Q
U OR+4, HDR+6, HDR+7, OR1+1
X OR+2, MO+2*, EXIT!, OR1+1
Y OR+3, OR+4, EXIT!, OR1+1
ZTDESC Q+1*, EXIT!
ZTRTN Q+1*, EXIT!
ZTSAVE EXIT!
ZTSAVE("ESP*" Q+1*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All