RDBMS code 5510: Invalid session mode for procedure ...

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
iHijazi
Participant
Posts: 45
Joined: Sun Oct 24, 2010 12:05 am

RDBMS code 5510: Invalid session mode for procedure ...

Post by iHijazi »

Hi,

If anyone faced this issue:
RDBMS code 5510: Invalid session mode for procedure execution

Here is the solution:
Although the Teradata API stage was not designed to invoke Teradata macros, stored procedures, and user-defined functions, it is possible to invoke such objects with the "User-defined SQL" option. However, there are several restrictions when invoking these objects from the Teradata API stage.

The Teradata API stage only connects in ANSI transaction mode, so it can only call procedures that were compiled in ANSI transaction mode. Attempting to invoke a stored procedure that was compiled in Teradata transaction mode will return an error that says, "Invalid session mode for procedure execution".

Please refer to to Teradata DBA for more information on this regards.

Cheers
Not only thoughts, but a little bit of experience.
Post Reply