; 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