DEXEC 12 (Remote Timed Program Schedule)

This DEXEC call (request code 12) schedules a program for execution at specific time intervals. Execution may be scheduled either at an absolute start time or following a specified initial offset value.

Programs scheduled on RTEA systems with a DEXEC 12 call must be loaded as system utilities.

Schedule execution at an absolute start time with the following syntax:

DEXEC(dest,code,name,resl,mtple,hrs,mins,secs,msecs)

Schedule execution following a specified initial offset value with the following syntax:

DEXEC(dest,code,name,resl,mtple,ofst)

dest

16-bit integer. The Router/1000 node address of the

 

node where the call is executed. A value of -1 indicates the

 

local node. Local execution will also be performed whenever

 

dest is equal to the local node address.

code

16-bit integer. Remote timed schedule request code = 12.

name

Integer array (FORTRAN); Packed character

 

array (PASCAL). A 3word array containing the program

 

name to be added to the time list in the first five bytes (the sixth

 

byte is not significant). This parameter must reference an

 

ASCIIcoded program name. If a value of zero is referenced

 

for a remote schedule call, if the program named does not exist,

 

or if the program named is not dormant, an error will result.

resl

16-bit integer. Resolution code. 1 = tens of

 

milliseconds; 2 = seconds; 3 = minutes; 4 = hours.

mtple

16-bit integer. Execution multiple.

hrs,...,msecs

16-bit integers. Absolute start time in hours, minutes,

 

seconds, and tens of milliseconds on a 24hour clock.

ofst

16-bit integer. A negative value that declares the initial

 

execution offset time based upon the content of the resl

 

(resolution code) parameter.

DEXEC 119