Director Log Database SQL Response

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
gsbrown
Premium Member
Premium Member
Posts: 148
Joined: Mon Sep 23, 2002 1:00 pm
Location: USA

Director Log Database SQL Response

Post by gsbrown »

I have a job with an ODBC stage that is submitting a user-defined INSERT INTO...SELECT FROM statement. Is there a way to capture the response from the database and write it to the DataStage job log? For example, "17,000 Row(s) affected"
ketfos
Participant
Posts: 562
Joined: Mon May 03, 2004 8:58 pm
Location: san francisco
Contact:

Post by ketfos »

Where do you see the text "17,000 Row(s) affected" ?
ketfos
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I think the problem is that this message, which is generated by the database server, is not appearing in the log, but gsbrown would like to see it there.

I don't have an answer for this one, but might suggest you investigate environment variables that control what is emitted by the database. These will be database environment variables rather than DataStage environment variables.
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