SetRunControlData method: CONQRSMGR class
Syntax
SetRunControlData(runCntlID, IsNewCtrl, IsChangeDB)
Description
Use this as an interactive method to prompt the user if member queries have prompts. This method saves prompt data to the database using the PSCONQRSRUNPRM or PSCONQRSRUNPRMX records if the IsChangeDB parameter is passed as true. Call this method prior to scheduling a connected query to run in scheduled mode.
Parameters
| Parameter | Description |
|---|---|
|
runCntlID |
Specifies the run control ID as a string. |
|
IsNewCtrl |
Specifies as a Boolean value whether the run control is new. |
|
IsChangeDB |
Specifies as a Boolean value whether to write the run control information to the database. |
Returns
A Boolean value: True if the run control parameters were set successfully, False otherwise.