calling a Quality stage job from the sequencer

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
dh_Madhu
Premium Member
Premium Member
Posts: 65
Joined: Sat Apr 23, 2005 3:19 am
Location: Stirling, Scotland

calling a Quality stage job from the sequencer

Post by dh_Madhu »

Hi ,
While calling a Quality stage job using the command execute stage in a sequencer, it gives a warning and fails. While using the telnet i am able to run the QS job successfully.
I use the sh 2>&1 and pass its parameters.
Its says reply=1 and at the end I see a "Op Failed osh (1)"

Any ideas pls?
Regards,
Madhu Dharmapuri
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It's "sequence", not "sequencer". Job exit status is 0 = running, 1 = finished OK, 2 = finished with warnings, etc. You need to create a custom trigger on the Execute Command activity so that it does not assume that a non-zero exit status is automatically a failure.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dh_Madhu
Premium Member
Premium Member
Posts: 65
Joined: Sat Apr 23, 2005 3:19 am
Location: Stirling, Scotland

Post by dh_Madhu »

Thanks Ray.
The sequence job somehow ran successfully after the user defined environment vairable (INITBIN) for Quality stage was added to the project.
Regards,
Madhu Dharmapuri
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Silly me. I assumed you had done that. :wink:
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply