Error of excute job in command line interface
Moderators: chulett, rschirm, roy
Error of excute job in command line interface
Hi,all
When I excute "./dsjob -run -param Path=/tmp/ testprj test" in command line interface,I get the following error message:
Error -1006?Path getting information for parameter ''
Status code = -1006?
Does anyone know what's the problem?
Thanks.
When I excute "./dsjob -run -param Path=/tmp/ testprj test" in command line interface,I get the following error message:
Error -1006?Path getting information for parameter ''
Status code = -1006?
Does anyone know what's the problem?
Thanks.
-
- Participant
- Posts: 107
- Joined: Wed Sep 29, 2004 10:15 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Try it without the trailing slash in the pathname.
I take it that the job does have a parameter called "Path"? Case and spelling are important.
Code: Select all
./dsjob -run -param Path=/tmp testprj test
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Code -1006 means that the project name can not be found. Check that it is spelled correctly and cased correctly.
Can you use the non-run options with dsjob? For example
Can you use the non-run options with dsjob? For example
Code: Select all
dsjob -jobinfo <projname> <jobname>
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
To: Kenneth Bland
What's the syntax of dsjob with supplying the server, userid and password options? I execute the command just on the DataStage server. Why should I use server, userid and password options?
To: Ray Wurlod
After I executed this command "./dsjob -jobinfo testprj test",the result is correct and status code is zero. If I executed this job without paramemter options,the job finished without error.
Thank you very much.
What's the syntax of dsjob with supplying the server, userid and password options? I execute the command just on the DataStage server. Why should I use server, userid and password options?
To: Ray Wurlod
After I executed this command "./dsjob -jobinfo testprj test",the result is correct and status code is zero. If I executed this job without paramemter options,the job finished without error.
Thank you very much.