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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: ENWOP2

Package: Engineering

Routine: ENWOP2


Information

ENWOP2 ;(WASH ISC)/DH-Count Incomplete Work Orders ;5/8/1998

Source Information

Source file <ENWOP2.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
VA FileMan 2 (,DD)^%DT  ^%DTC  
Engineering 1 $$SPACE^ENEQPMS8  

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
Engineering 1 ENWOST  

Entry Points

Name Comments DBIA/ICR reference
HDR
COUNT ;Get count for shop ENSHKEY
FDAT
HOLD
EXIT

External References

Name Field # of Occurrence
^%DT ENWOP2+2
DD^%DT ENWOP2+2
^%DTC FDAT+8
$$SPACE^ENEQPMS8 FDAT+5

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $E(IOST,1,2)="C-"
  • Line Location: ENWOP2+3
Function Call: WRITE
  • Prompt: !!,$P(^DIC(6922,ENSHKEY,0),U),": ",ENCOUNT
  • Line Location: ENWOP2+3
Function Call: WRITE
  • Prompt: "."
  • Line Location: ENWOP2+7
Function Call: WRITE
  • Prompt: !!,$P(^DIC(6922,ENSHKEY,0),U),": ",ENCOUNT
  • Line Location: ENWOP2+10
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDR+0
Function Call: WRITE
  • Prompt: "COUNT OF INCOMPLETE ENGINEERING WORK ORDERS ",?50,DATE,?65,"Page ",ENPG
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,"Employee: ",$S(ENEMP="":"NONE",1:$P(^ENG("EMP",ENEMP,0),U))
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: !,"For a Specific Room: "_$P(^ENG("SP",ENROOM,0),U)
  • Line Location: HDR+5
Function Call: WRITE
  • Prompt: !,"By Location Search:"
  • Line Location: HDR+6
Function Call: WRITE
  • Prompt: !,"Owner/Department: ",$P(^DIC(49,ENONR,0),U)
  • Line Location: HDR+7
Function Call: WRITE
  • Prompt: !,$S(ENPMINC:"(Includes ",1:"(Does not include "),"PM Work Orders)"
  • Line Location: HDR+8
Function Call: WRITE
  • Prompt: !,X
  • Line Location: HDR+9
Function Call: WRITE
  • Prompt: !!,"Press <RETURN> to continue, '^' to exit..."
  • Line Location: HOLD+0
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: EXIT+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(49 - [#49] HDR+7
^DIC(6922 - [#6922] ENWOP2+3, ENWOP2+6, ENWOP2+10
^ENG("EMP" - [#6929] HDR+4
^ENG("SP" - [#6928] HDR+5
^ENG(6920 - [#6920] FDATFDAT+2!, FDAT+3, FDAT+4, FDAT+5, FDAT+6, FDAT+7

Label References

Name Line Occurrences
COUNT ENWOP2+3, ENWOP2+8
EXIT ENWOP2+3, ENWOP2+13
FDAT FDATFDAT+2, FDAT+3, FDAT+4, FDAT+5, FDAT+6, FDAT+8, FDAT+10
HDR ENWOP2+3, ENWOP2+5, ENWOP2+11
HOLD ENWOP2+3, ENWOP2+12, HDR

Naked Globals

Name Field # of Occurrence
^(0 FDAT
^(3 FDAT+6
^(5 FDAT+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT ENWOP2+2*
DA FDAT*, FDAT+2, FDAT+3, FDAT+4, FDAT+5, FDAT+6, FDAT+7, EXIT!
DATE ENWOP2+2~*, HDR+2
DTIME HOLD
>> ENBY ENWOP2+8, HDR+3, HDR+4, HDR+5, HDR+6, HDR+7, FDAT+3, FDAT+4, FDAT+5, FDAT+6
ENCOUNT ENWOP2+3, ENWOP2+8, ENWOP2+10, COUNT+1*, FDAT+9*, EXIT!
>> ENDLQ FDAT+8
ENDNX COUNT+1*, FDAT*, FDAT+1, FDAT+2, EXIT!
>> ENEMP HDR+4, FDAT+3
>> ENONR HDR+7, FDAT+6
ENPG ENWOP2+2*, HDRHDR+1*, HDR+2, EXIT!
>> ENPMINC HDR+8, FDAT
ENQUIT ENWOP2+2*, ENWOP2+6, ENWOP2+11, ENWOP2+12, HDRHOLD+1*, EXIT!
ENRDA FDAT+7*, FDAT+8, EXIT!
>> ENROOM HDR+5, FDAT+4
ENSHKEY ENWOP2+3, ENWOP2+4~, ENWOP2+6*, ENWOP2+10, FDATFDAT+2
ENSHKEY("ALL" ENWOP2+3
ENTOD ENWOP2+2*, FDAT+8, EXIT!
ENY ENWOP2+9*, ENWOP2+11, HDR+1*, HDR+3*, EXIT!
IO ENWOP2+7
>> IO(0 ENWOP2+7
IOF ENWOP2+3, ENWOP2+4, HDREXIT+1
IOSL ENWOP2+11
IOST ENWOP2+3, ENWOP2+4, ENWOP2+12, HDR
>> SPC FDAT+5*
U ENWOP2+3, ENWOP2+10, HDR+4, HDR+5, HDR+7, FDAT+2, FDAT+3, FDAT+4, FDAT+5, FDAT+6
FDAT+7
X ENWOP2+2*, HDR+9!*, FDAT+5*, FDAT+8, HOLD*, HOLD+1
>> X1 FDAT+8*
>> X2 FDAT+8*
>> Y ENWOP2+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All