Debugging a builop code

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
sidharth
Participant
Posts: 19
Joined: Mon Nov 07, 2005 1:47 am

Debugging a builop code

Post by sidharth »

Hi,
Is there a way by which one can debug a builop code ?
Are there any variable display commands, which might print intermediate values ?

Thanks for the reply.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It really depends on what tools you have available. Yes, you can issue calls to functions like printf(), but these end up in a file in the &PH& folder. Of course, you can direct any output to a file. Your C programming environment may have its own facilities, such as a debug object. Check; this may be a more sensible utility. And, of course, you can conditionally compile your debugging statements via #define, #ifdef and related directives.
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