Need help with dsjob command

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
major
Premium Member
Premium Member
Posts: 167
Joined: Mon Nov 26, 2007 12:21 am

Need help with dsjob command

Post 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
arvind_ds
Participant
Posts: 428
Joined: Thu Aug 16, 2007 11:38 pm
Location: Manali

Post by arvind_ds »

Use -warn n option.

Example :

dsjob -run -warn 9999 ProjectName JobName
Arvind
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
major
Premium Member
Premium Member
Posts: 167
Joined: Mon Nov 26, 2007 12:21 am

Post by major »

Thank you guys...
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

Better yet, fix your warnings within your job design.

They are being issued for a reason.
Post Reply