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

Package: CMOP

Routine: PSXCST


Information

PSXCST ;BIR/JMB-Queues cost data compilation ;[ 04/08/97 2:06 PM ]

Source Information

Source file <PSXCST.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
CMOP 6 ^PSXCSCMN  ^PSXCSDA  QUE^PSXCSLG1  CHECK^PSXCSLOG  ^PSXCST1  END^PSXCSUTL  
VA FileMan 4 ^%DT  (C,H,NOW)^%DTC  ^DIK  ^DIR  
Kernel 2 ^%ZTLOAD  ($$FMTE,$$HTFM)^XLFDT  

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

Package Total Caller Graph
CMOP 4 PSX COST DATE RANGE COMPILE  PSX COST INITIALIZE  PSXCST1  PSXCSTPG  

Entry Points

Name Comments DBIA/ICR reference
INIT ;Entry point for Initialize Nightly Compile Job
TIME
NIGHT ;Entry point for nightly job
NQUE ;Queues nightly job.
RECOM ;Entry point for Date Range Compile/Recompile Cost Data
REDT
QUE ;Queues One Day & Date Range Compile/Recompile Cost Data

External References

Name Field # of Occurrence
^%DT TIMERECOM+2, REDT
C^%DTC INIT+4, TIME+1, NIGHT+2
H^%DTC TIME+1
NOW^%DTC TIME
^%ZTLOAD NQUE+2, QUE+6
^DIK NIGHT+6
^DIR INIT+4, REDT+1
^PSXCSCMN NIGHT+4
^PSXCSDA NIGHT+2
QUE^PSXCSLG1 NIGHT+3, NQUE+3, QUE+6
CHECK^PSXCSLOG QUE+1
^PSXCST1 REDT+2
END^PSXCSUTL INIT+4, TIMENIGHT+7, NQUE+3, RECOM+1, RECOM+2, REDTREDT+2, REDT+3, QUE+1
$$FMTE^XLFDT QUE+2
$$HTFM^XLFDT NIGHT+3, NQUE+1, QUE+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"You are not authorized to use this option!"
  • Line Location: INIT+1
Function Call: WRITE
  • Prompt: !!?3,"A job will be tasked every night which compiles yesterday's cost",!?3,"statistics. This job should be run during off hours. The suggested",!?3,"time is 1 o'clock in the morning."
  • Line Location: INIT+2
Function Call: WRITE
  • Prompt: !!?3,"** CAUTION: Check with IRM to make sure the",!?15,"job has not already been queued.",!!
  • Line Location: INIT+3
Function Call: WRITE
  • Prompt: !
  • Line Location: TIME+0
Function Call: WRITE
  • Prompt: !
  • Line Location: TIME+1
Function Call: WRITE
  • Prompt: !,"You are not authorized to use this option!"
  • Line Location: RECOM+1
Function Call: WRITE
  • Prompt: !
  • Line Location: REDT+0
Function Call: WRITE
  • Prompt: !!,"No data has been compiled/recompiled."
  • Line Location: REDT+1
Function Call: WRITE
  • Prompt: !!,$S($G(PSXCOM)=1:"One Day",$G(PSXCOM)=2:"Daily",1:"Monthly")_" data compilation queued from "_$$FMTE^XLFDT(PSXBDT)_" to "_$$FMTE^XLFDT(PSXEDT)_"."
  • Line Location: QUE+2
Function Call: WRITE
  • Prompt: !!,"Task Queued!",!
  • Line Location: QUE+6
Routine Call
  • DIR
  • Line Location:
    • INIT+4
    • REDT+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSX(554 - [#554] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" INIT+4
^PSX(554 - [#554] NIGHT+5
^XUSEC("PSXCOST" INIT+1, RECOM+1

Label References

Name Line Occurrences
NQUE TIME+2, NIGHT+1
RECOM RECOM+2, REDT+1, REDT+2
REDT REDT

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % TIME
>> %DT TIME*, RECOM+2*
>> %DT("A" TIME*, RECOM+2*, REDT*
>> %DT("B" TIME*
>> %DT(0 TIME*, RECOM+2*!, REDT*
>> %H TIME+1
>> %T TIME+1
>> DA NIGHT+6*
>> DA(1 NIGHT+6*
>> DIK NIGHT+6*
DIR INIT+4!, REDT+1!
DIR("A" INIT+4*, REDT+1*
DIR("B" INIT+4*, REDT+1*
DIR(0 INIT+4*, REDT+1*
>> DIRUT INIT+4, REDT+1
DT INIT+4, NIGHT+1, NIGHT+2, NIGHT+3, NIGHT+4, RECOM+2
>> DTOUT TIME
DUZ INIT+1, RECOM+1
>> PSXBDT TIME+1*, NIGHT+1*, NIGHT+2*, NIGHT+4*, QUE+2
>> PSXBEG RECOM+2*, REDT
>> PSXCNT NIGHT+5*, NIGHT+6
>> PSXCOM QUE+2, QUE+4
>> PSXEDT TIME+1*, NIGHT+1*, NIGHT+2*, NIGHT+4*, QUE+2
>> PSXEDTR INIT+4*, TIME
>> PSXEND REDT*
PSXERR REDT+2, QUE+1~
>> PSXG QUE+5*
PSXHOLD NIGHT+1*, NIGHT+2!
>> PSXIEN NIGHT+5*
>> PSXJOB NIGHT+3*, NQUE+1*, QUE+3*
PSXLOC NIGHT+5!
PSXLOC( NIGHT+5*, NIGHT+6
>> PSXMON NIGHT+4*
>> PSXSTART NIGHT+1, NIGHT+2*, NIGHT+3*, NQUE+1*, QUE+3*
>> PSXYR NIGHT+4*
>> X INIT+4, TIME+1*, NIGHT+2, RECOM+2, REDT
>> X1 INIT+4*, TIME+1*, NIGHT+2*
>> X2 INIT+4*, TIME+1*, NIGHT+2*
>> Y INIT+4*, TIMETIME+1, RECOM+2, REDTREDT+1
>> ZTDESC NQUE+2*, QUE+4*
>> ZTDTH TIME+1*, NIGHT+1*, QUE+4*
>> ZTIO NQUE+2*, QUE+4*
>> ZTQUEUED NQUE+2, QUE+7
>> ZTREQ NQUE+2*, QUE+7*
>> ZTRTN NQUE+2*, QUE+4*
>> ZTSAVE( QUE+5*
>> ZTSAVE("PSXSTART" NQUE+2*
>> ZTSK NQUE+2, QUE+6
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 |  Local Variables  | All