DS 6.x XE/390 debugging tools?

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
emhastr
Premium Member
Premium Member
Posts: 12
Joined: Mon Apr 21, 2003 1:45 pm

DS 6.x XE/390 debugging tools?

Post by emhastr »

Has anybody been successful in using any debugging tools with XE/390? I tried Xpediter, with no luck. Thanks, Ed
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Only close scrutiny of the generated COBOL! :cry:
kjanes
Participant
Posts: 144
Joined: Wed Nov 06, 2002 2:16 pm

Post by kjanes »

Just as with other coding environments there are some techniques that can be employed to help debug. Traditionally, you might use "displays" in a COBOL program to help debug.

For syntax errors, the compiler seems to catch a lot. some message are still ambiguous.

For runtime issues, maybe display statements can help. Additionally, if you think there is a problem in the program you may want to write to a sequential file at certain stages to verifiy your data is correct. This is one method to produce a "stepping" type debug.

The messaging in the job log is not too bad either.

I am not exactly sure what issues you have with debugging but those are some suggestions. Are you trying to monitor SQL as it runs? Is that the issue?

There is no magic bullet to "debugging" in this environment because it is basically COBOL. So if you debug it as if it were just another COBOL program then it may make more sense.

I will check to see if there are any improvements with the upcoming version 7.
Kevin Janes
emhastr
Premium Member
Premium Member
Posts: 12
Joined: Mon Apr 21, 2003 1:45 pm

Debugger tools for XE/390?

Post by emhastr »

Thanks for your info and tips. I was just fishing for ideas to
add to my personal toolbox. It will be interesting if DS 7.0
enhances debugging. It would be nice if Xpediter, or even the IBM
debugger could be made available to debug custom routines, interfaces to
external routines, etc.

Ed
Post Reply