The scan runs via the setting in VKGPARMS for parameter DTCINTVL
DTCINTVL
(default) 9999 Specify the number of minutes (1 - 9997) between DTOC scans.
9998 - Perform one scan at startup or by NEWSCAN command.
9999 - The scan is prevented from running.
The value from DTCINTVL is technically the "sleep time" between scans.
This causes the time that each scan starts to "slip" some number of minutes, changing the time that a scan actually starts.
Vantage
Following is the script setup to have the DTOC scan to be triggered at the same time(s) that you specify...
This script can be called DTOCSCAN and is placed in the AUTOSCR (GOA) library:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<GENERAL>
EVENT_TYPE=GOA
TITLE=Trigger DTOC Scan
DESCRIPTION1=This script will trigger a DTOC scan at specific times
SIMULATE=N
ENABLED=Y
MONITOR=N
LOAD_SCRIPT=Y
STARTTIME=0000
ENDTIME=2400
PERFORM_EVT_PROC=ON_DAY=ALL,AT_TIME=0600
<EVENT_PROCEDURE>
CMD=F SAMS,REFRESH,DTOCS
PERFORM_CMD
To Do: Adjust times when DTOC scan is to be triggered.
To Do: Adjust name of your Vantage STC name