RTI_AUTOEXEC
Description
RTI_AUTOEXEC is a support routine that manages the processing of startup tasks
Syntax
Call RTI_AUTOEXEC()
Parameters
None
Returns
None
Notes
RTI_AUTOEXEC is a utility routine that is never directly invoked by the user; an instance of OpenInsight will automatically call the RTI_AUTOEXEC routine if it is started with the “/AE” (auto execute) command line parameter. The actual task performed at startup is controlled by the configuration record CFG_AUTOEXEC in the SYSENV table.
The configuration record should contain the name of the stored procedure to run in field one (if nothing is specified, the default startup process “RTI_TASKMANAGER” will be run). Field two should contain whatever value should be passed in as the first parameter to the startup process; field three should contain whatever value should be passed in as the second parameter, etc. RTI_AUTOEXEC supports passing in up to 10 parameters to the startup routine (stored in fields two through eleven)
The specific record used for the configuration will be either CFG_AUTOEXEC*<appid>*<user> (where <appid> is the name of the application, and <user> is the name of the user), or CFG_AUTOEXEC**<user>, or CFG_AUTOEXEC*<appid>, or CFG_AUTOEXEC; OpenInsight will use the most specific configuration record found.