What is the error codes tab in ODBC Stage meant for

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
VasanthRM
Participant
Posts: 37
Joined: Wed May 11, 2005 3:05 am

What is the error codes tab in ODBC Stage meant for

Post by VasanthRM »

hi,

With the ODBC Stage there is an option for fatal errors and warnings in the error tab.

This option is enabled only when the create table option is checked.

What is the use of it.
In which it can be used extensively ?
elavenil
Premium Member
Premium Member
Posts: 467
Joined: Thu Jan 31, 2002 10:20 pm
Location: Singapore

Post by elavenil »

This option is enabled only "Call Stored Procedure" update action selected. And this option is to handle errors that would be occurred while stored procedure getting executed.

I have not got any chance to use this option. So i have no idea when this option can be extensively used.

Regards
Saravanan
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

With Stored Procedures you can generate your own, non-standard, error and warning codes. This tab allows you to specify how DataStage should react when one is encountered. The choices are, essentially, "fail" (abort) or "warn" (log warning message). Although I haven't tried it, it may also be possible to handle errors and warnings generated by DDL statements.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply