Hi,
How do we promote a particular warning to fatal error so that the job aborts, we have a metadata mismatch , instead of generating a warning and dropping the data, we need it to abort.
Or
Is there a way to specify the job to abort after say 10 warnings when runing the job from Control-M.
Thanks,
Promote warning to fatal error
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 353
- Joined: Wed Apr 06, 2005 8:45 am
Promote warning to fatal error
Thanks,
Vinay
Vinay
Can't help with the 'promote the warning' bit, but I thought that was done via a right-click in the job's log on the warning itself?
Is there a way in PX to say if records go this particular link, abort the job after n of them? In the Server world you can say 'Abort after 1 row goes down this link' which stops the job at the first sign of the problem.
For Control-M and the 'dsjob' command line interface, simply add '-warn 10' to the command to start the job.
Is there a way in PX to say if records go this particular link, abort the job after n of them? In the Server world you can say 'Abort after 1 row goes down this link' which stops the job at the first sign of the problem.
For Control-M and the 'dsjob' command line interface, simply add '-warn 10' to the command to start the job.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Premium Member
- Posts: 353
- Joined: Wed Apr 06, 2005 8:45 am
Hi
We can demote or supress the warnings but not promote I believe.
The easy way is to use a transformer and use the condition abort on 1 row.
I have not tried the '-warn 10' , will try that, but was thinking if there is away to make a warning convert into FATAL.
Thanks for the inputs.
We can demote or supress the warnings but not promote I believe.
The easy way is to use a transformer and use the condition abort on 1 row.
I have not tried the '-warn 10' , will try that, but was thinking if there is away to make a warning convert into FATAL.
Thanks for the inputs.
Thanks,
Vinay
Vinay
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
There is always a way to get what you want. But firstly you may want to identify how do you want to use this Job Abort/Fatal Status?vinaymanchinila wrote:Hi
We can demote or supress the warnings but not promote I believe.
The easy way is to use a transformer and use the condition abort on 1 row.
I have not tried the '-warn 10' , will try that, but was thinking if there is away to make a warning convert into FATAL.
Thanks for the inputs.
Pneuma Lin.
pneumalin@yahoo.com
pneumalin@yahoo.com
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: