parallel jobs with warning

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
ashidalgov
Participant
Posts: 8
Joined: Fri Oct 26, 2012 8:05 am

parallel jobs with warning

Post by ashidalgov »

I have a parallel jobs with warning
but when those jobs are run in a sequence job the sequence job is aborted
I want to know what is the option in the sequence job to run with the warninigs of parallel jobs

thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

They were aborted when run under a Sequence job because they exceeded a (probably 50) warning limit? Rather than your normal unlimited warning run when standalone? Is that the scenario you are describing?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ashidalgov
Participant
Posts: 8
Joined: Fri Oct 26, 2012 8:05 am

parallel jobs with warning

Post by ashidalgov »

if I have a parallel job has over 50 warinings in that case I should do with the job sequence
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Choice 1 - correct the warnings.
Choice 2 - Deprecate the warning to informational.

Choice #1 is by far the better choice.
ashidalgov
Participant
Posts: 8
Joined: Fri Oct 26, 2012 8:05 am

parallel jobs with warning

Post by ashidalgov »

how I can make the choice to deprecate the informational warning. ?
please
ankursaxena.2003
Participant
Posts: 96
Joined: Mon May 14, 2012 1:30 pm

Post by ankursaxena.2003 »

It is not a good practice to have warnings, if you can eliminate it.

But, if you don't have time then you can use Message Handler to not abort the jobs.
Thanks,
Ankur Saxena
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

One way is to mark the message in the director log, then right-mouse click and choose the option "add rule to mesage handler" to get the screen which allows you to deprecate messages.
mdbatra
Premium Member
Premium Member
Posts: 175
Joined: Wed Oct 22, 2008 10:01 am
Location: City of London

Post by mdbatra »

Hi ashidalgov

do you mean the job activity which calls the job itself- that fails ?
Or the complete sequence fails if that job is finished with warnings.

for the former case, you already have the above suggestions.
for the later one, you probably need to make sure the trigger to the next activity is correctly defined(by defining Custom = OK or Finished with warnings)
Rgds,
MB
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

If you were a developper in my shop, I'd say option #2 is not allowed.

Address the issue that the warning is alerting you about.

Can you cut and paste the warning message here?
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

There are some warning messages which cannot be programmed around in a job and thus there are (very few) cases for demoting warning messages to information. I believe that there should be no case for demoting an informational message to "suppress", though.
Post Reply