Unable to execute dsjob because wrong parameter

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
manuel.gomez
Premium Member
Premium Member
Posts: 291
Joined: Wed Sep 26, 2007 11:23 am
Location: Madrid, Spain

Unable to execute dsjob because wrong parameter

Post by manuel.gomez »

Hello guys,

I am having a problem with executing jobs with dsjob remotely

This is the command I am trying to execute:

Code: Select all

C:\IBM\InformationServer\Clients\Classic\dsjob.exe -run -domain cp1wddqspru:9080 -hostname cp1wddqspru -user admin -password xxxxxx -jobstatus -param ParmGenASISA=DES_2nodos -param Conn_ODS=ODS_PRE_NAT Unificados TCONCEPT
But I am getting the following error messages:

Invalid arguments: dsjob -run
[-mode <NORMAL | RESET | VALIDATE>]
[-paramfile <filename>]
[-param <name>=<value>]
[-warn <n>]
[-rows <n>]
[-wait]
[-opmetadata <TRUE | FALSE>]
[-disableprjhandler]
[-disablejobhandler]
[-jobstatus]
[-userstatus]
[-useid]
<project> <job|jobid>

Status code = -9999 DSJE_DSJOB_ERROR
From the above list, it seems to me that domain, server, user, password.....input parameters are not supported by dsjob command anymore (which I guess its simply not possible, so I must have been doing something really wrong and stupid....)

Hope you guys can help me on this....thanks a lot!!!
asyed
Participant
Posts: 16
Joined: Sun Dec 12, 2010 10:24 pm
Location: Hyderabad, India

Post by asyed »

try to include param values in double quotes
Post Reply