Products | Versions |
---|---|
TIBCO Data Virtualization | All Supported Versions |
If we are trying to execute a procedure without any output variable such as setEnvironment() which only takes input (environment variable) and performs certain tasks using them.
executing using the standard command: exec setEnvironment 'Test','Value';
TDV returns an error:
Error: An exception occurred when executing the following query: "exec SetEnvironment 'Test','Value'". Cause: Procedure '/services/databases/SetEnvironment' must contain only one output cursor with unique fields or at least one scalar output.
On line 0, column 0. [parser-2906438] [Log ID: f4f8191c-2ef8-4181-b5b8-79a33c8f45ff] [jdbc-1906510] SQLState: ErrorCode: 1906510
To resolve this below mentioned steps will be helpful.