Running datastage job through Unix shell script

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

anbu
Premium Member
Premium Member
Posts: 596
Joined: Sat Feb 18, 2006 2:25 am
Location: india

Post by anbu »

sourabhverma wrote:The long-running shell script inturn calls other datastage jobs lying in other DS project and always returns zero.
Are you able to run job sqRunMainFlow from command line using dsjob?
You are the creator of your destiny - Swami Vivekananda
sourabhverma
Participant
Posts: 74
Joined: Thu Jan 05, 2006 2:07 am

Post by sourabhverma »

I tried executing the job individually from command line also but again the same issue persists.

Will the userid anyhow cause a problem in the job execution, because the job execution at unix level is through different user while when i run the job from director client it is through other user.
Thanks,
Sourabh Verma
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Probably. What are the differences between the users' profiles? What permissions might be affected? Did you execute the dsenv script before running from the command line?
Last edited by ray.wurlod on Wed Feb 10, 2010 2:49 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sourabhverma
Participant
Posts: 74
Joined: Thu Jan 05, 2006 2:07 am

Post by sourabhverma »

Yes i executed the dsenv also before triggeringthe DS job:

cd `cat /.dshome`
. ./dsenv

And after that the 'dsjob - run' command.
Thanks,
Sourabh Verma
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There were three questions...
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