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 |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: ORMTIMST

Package: Order Entry Results Reporting

Routine: ORMTIMST


Information

ORMTIMST ; JM/SLC-ISC - ORMTIME STATUS ROUTINES ;06/06/2006

Source Information

Source file <ORMTIMST.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
Kernel 3 ($$FMADD,$$FMDIFF,$$NOW)^XLFDT  (BMES,MES)^XPDUTL  OPTSTAT^XUTMOPT  

Entry Points

Name Comments DBIA/ICR reference
PRECHECK ; Start install - make sure ORMTIME doesn't run while the installation takes place.
NEXTRUN() ; Number of minutes before the next scheduled run of ORMTIME. - returns in format MINUTES:SECONDS
; If past scheduled time, but within the last 10 minutes, returns 0 (give TaskMan time to invoke it)
; If -1, unable to determine value
EN ; Pre-install environment check - will ORMTIME run in the next 5 minutes?
RUNNING() ; Checks to see if ORMTIME is running
ENVCHECK(MINUTES) ; Environment check to see if ORMTIME is running, or will run in the next few minutes
ENVMAIN ;
ABORT(TXT) ; Send abort message
OUT(TEXT) ; Send output - if run from install, send to MES^XPDUTL
BOUT(TEXT) ; Send output - if run from install, send to BMES^XPDUTL
PREMAIN ;
ENVTEST(MINUTES) ; Run for testing purposes only
PRETEST ; test install

External References

Name Field # of Occurrence
$$FMADD^XLFDT NEXTRUN+8
$$FMDIFF^XLFDT NEXTRUN+12
$$NOW^XLFDT NEXTRUN+7
BMES^XPDUTL BOUT+1
MES^XPDUTL OUT+1
OPTSTAT^XUTMOPT NEXTRUN+9

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: TEXT,!
  • Line Location: OUT+2
Function Call: WRITE
  • Prompt: !,TEXT,!
  • Line Location: BOUT+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OR(100 - [#100] RUNNING+1

Label References

Name Line Occurrences
$$NEXTRUN ENVMAIN+21
$$RUNNING ENVMAIN+3, ENVMAIN+12, PREMAIN+3
ABORT ENVMAIN+17, ENVMAIN+31
BOUT ENVMAIN+2, ENVMAIN+8, ENVMAIN+20, ENVMAIN+30, ENVMAIN+32, ABORT+1, PREMAIN+4, PREMAIN+7, PREMAIN+8
ENVCHECK EN+2
ENVMAIN ENVCHECK+5
OUT ENVMAIN+13, ENVMAIN+16, ABORT+2, ABORT+3, ABORT+4, ABORT+5, PREMAIN+6
PREMAIN PRETEST+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CHKSOON ENVMAIN+1~, ENVMAIN+4*, ENVMAIN+10*, ENVMAIN+19
COUNT ENVMAIN+1~, ENVMAIN+10*, ENVMAIN+13*, PREMAIN+1~, PREMAIN+2*, PREMAIN+4, PREMAIN+5*, PREMAIN+6*, PREMAIN+7
DELAY NEXTRUN+3~, NEXTRUN+6*, NEXTRUN+8
DIFFDT NEXTRUN+3~, NEXTRUN+12*, NEXTRUN+13, NEXTRUN+15
I NEXTRUN+3~, NEXTRUN+10*, NEXTRUN+11, ENVMAIN+1~, ENVMAIN+11*
KIDS ENVCHECK+3~, ENVCHECK+4*, ENVTEST+1~, ENVTEST+2*, OUT+1, BOUT+1, PRETEST+1~, PRETEST+2*, PRECHECK+1~, PRECHECK+2*
MAX NEXTRUN+3~, NEXTRUN+4*, NEXTRUN+5, NEXTRUN+16
MIN NEXTRUN+3~, NEXTRUN+18*, NEXTRUN+20
MINUTES ENVCHECK~, ENVTEST~, ENVMAIN+23, ENVMAIN+28
MSG ENVMAIN+1~, ENVMAIN+5*, ENVMAIN+6*, ENVMAIN+7*, ENVMAIN+8, ENVMAIN+24*, ENVMAIN+28*, ENVMAIN+29*, ENVMAIN+30
NEXT ENVMAIN+1~, ENVMAIN+21*, ENVMAIN+23, ENVMAIN+26, ENVMAIN+27
NOWDT NEXTRUN+3~, NEXTRUN+7*, NEXTRUN+8, NEXTRUN+12
ORY NEXTRUN+3~, NEXTRUN+9, NEXTRUN+10
ORY( NEXTRUN+11
PASTDUE NEXTRUN+3~, NEXTRUN+8*, NEXTRUN+14
RESULT NEXTRUN+3~, NEXTRUN+5*, NEXTRUN+10, NEXTRUN+14*, NEXTRUN+15*, NEXTRUN+16*, NEXTRUN+17, NEXTRUN+18, NEXTRUN+20*, NEXTRUN+21
RUNNING ENVMAIN+1~, ENVMAIN+3*, ENVMAIN+6, ENVMAIN+9, ENVMAIN+11, ENVMAIN+12*, ENVMAIN+13, ENVMAIN+14, ENVMAIN+17
SCHDT NEXTRUN+3~, NEXTRUN+11*, NEXTRUN+12, NEXTRUN+14
SEC NEXTRUN+3~, NEXTRUN+18*, NEXTRUN+19*, NEXTRUN+20
SOON ENVMAIN+1~, ENVMAIN+19, ENVMAIN+22*, ENVMAIN+23*, ENVMAIN+25, ENVMAIN+31
STARTMSG ENVMAIN+1~, ENVMAIN+26*, ENVMAIN+27*, ENVMAIN+28*, ENVMAIN+29
TEXT OUT~, OUT+1, OUT+2, BOUT~, BOUT+1, BOUT+2
TXT ABORT~, ABORT+4
U NEXTRUN+11
>> XPDENV ENVCHECK+2
>> XPDQUIT ABORT+6*
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All