Warinings from a Routine

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
go4it
Participant
Posts: 34
Joined: Wed Apr 23, 2008 5:49 am
Location: UK

Warinings from a Routine

Post by go4it »

I am calling a Data Stage Server Routine in a Sequencer which then calls a EE job, The Server Routine is used to unpack some data in the Source file, most of the times the Routine works fine but at times when unpacking it might hit issues that were not captured, so the Sequencer Aborts after 50 rows have been logged.

Is there a way to supress the warings within the routine, I can do that from Sequncer but was wondering if the same could be done at that routine alone.

With Regards
G
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

If the routine generates warnings then it contains calls to DSLogWarn() which you can modify to just call DSLogInfo(). I would hesitate to recommend doing that unless you are certain that the warning are unavoidable and won't affect your job run.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Do you have some examples of 'issues that were not captured' or what kind of warnings you'd want to 'suppress'?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply