No output from ExecSH routine

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
solaik
Participant
Posts: 12
Joined: Sun Jan 23, 2005 10:33 pm

No output from ExecSH routine

Post by solaik »

We are calling shell script through ExecSH this routine in job control but that script is not running goes to next control.When i see in director shows "No command output". urgent.
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

This is a voluntary site. There is nothing called urgent. If you want your problem to resolved immediately, sign up for a 24x7 or premium with your support provider.

Did you try the command from your OS shell? What happens?
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Post your code.
Mamu Kim
ririr
Participant
Posts: 84
Joined: Sun Apr 04, 2004 8:59 pm

Post by ririr »

Try to execute the shell on the server by logging into the box. If it is returning the the "No command output", it means the code in the shell script is not returning any output..
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Lots of UNIX commands (for example cp, mv and so on) are silent if successful. "Silence is good."
If you want to guarantee output, add another command that isn't silent. For example

Code: Select all

mycommand ; echo $?
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