Page 1 of 1

dos batch script

Posted: Thu Jun 05, 2008 7:10 am
by nivas
Hi
I am calling dos batch script from datastage . That batch script interim calling another batch script called dsjobControlParm. I am getting error as

"dsjobControlParam' is not recognized as an internal or external command,
operable program or batch file"
But If I directly run the batch script from command line it is running.
Could you any body help me out on this. Advance thanks
Nivas

Posted: Thu Jun 05, 2008 7:30 am
by ArndW
This is typical of errors where programs are not called with absolute paths.

Posted: Thu Jun 05, 2008 7:52 am
by nivas
You are absolutely right . Thanks

Posted: Thu Jun 05, 2008 9:15 am
by JKenklies
You may also use dynamic paths in your batch. Detailed information can be found in the "Help and Support Center" in Windows. (Start > Help and Support). Search for "Using batch parameters" and bookmark it. There is also a quite good "Command-line reference A-Z". :wink: