Page 1 of 1

Need help with dsjob command

Posted: Fri Jul 08, 2011 12:57 am
by major
Hi,

I am using the shell script to trigger the datastage sequence with the below syntax

dsjob -run -jobstatus ProjectName JobName

The sequence is getting aborted after 50 warnings.
I want the sequence to run without abort after 50 warnings.
How to achieve this.

Thanks in advance.
Major

Posted: Fri Jul 08, 2011 5:10 am
by arvind_ds
Use -warn n option.

Example :

dsjob -run -warn 9999 ProjectName JobName

Posted: Fri Jul 08, 2011 7:07 pm
by ray.wurlod
Option -warn 0 disables abort on warning count altogether.

I counsel against using this. In fact, I strongly advise creating jobs that don't generate warnings at all.

Posted: Wed Jul 20, 2011 1:26 am
by major
Thank you guys...

Posted: Wed Jul 20, 2011 6:19 am
by PaulVL
Better yet, fix your warnings within your job design.

They are being issued for a reason.