Job execution through shell script

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
skathaitrooney
Participant
Posts: 103
Joined: Tue Jan 06, 2015 4:30 am

Job execution through shell script

Post by skathaitrooney »

Hello Experts,

There is one sort of issue that i currently encounter not so frequently though.

When we run our sequences through shell scripts, sometimes the sequences run but the script returns a return code of 1

Code: Select all

. Earlier i was under the impression that this was due to the high load that was existing during the peak hours in our environment. But recently this scenario happened when the load was relatively low .
1min avg was 9 on a 8core system

Any idea if i am on right path to track this ?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Plenty of previous conversations on this topic. Not "high load" per se, more about a lack of resources at the moment the job was attempting to start. The command was issued but the confirmation that it was able to start successfully did not come back within the timeout period, so it throws the error.

The answer could be as simple as not running as many at the same time or staggering their start times. I believe they added an option at some point to override the default timeout value of 60 seconds as well.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply