Hi,
I tried executing a batch file using Exec Command Activity in a job sequence.The Batch file has the following command,
dsjob -run -mode NORMAL -warn 50 -wait IBIS test1.
This command is used to execute a Datastage job from Command prompt.this command works fine in the cmd prompt.But the Exec Command Activity is not executing properly,it is displaying the following message,
Reply=1
Output from command ====>
Batch1.bat: dsjob: not found
Can you clarify me????
Thanks,
Vimali.
Exec Command Stage in a job sequence
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 60
- Joined: Mon Dec 27, 2004 3:38 am
Re: Exec Command Stage in a job sequence
Make sure that you have all PATH settings correct for the shell you execute your batch file. To play safe you can consider to add a line to source the 'dsenv' file in your batch script.
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
-
- Participant
- Posts: 82
- Joined: Thu Dec 02, 2004 10:27 pm
- Location: INDIA
-
- Participant
- Posts: 60
- Joined: Mon Dec 27, 2004 3:38 am