Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== 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. guides/programming/programmers_reference_manual/rti_autoexec.txt Last modified: 2024/06/19 20:20by 127.0.0.1