Running a Job in CMD prompt using dsjob -run
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 57
- Joined: Wed Oct 21, 2009 4:46 am
- Location: India
Running a Job in CMD prompt using dsjob -run
Hi,
Im trying to run a job using the option dsjob -run,
The syntax followed by me is,
dsjob -server <server> -user <UserID> -password <XXXXXX> -run -param param1=value param2=value param3=value param4=value <Project> <Jobname>
The error which Im getting is like Invalid Arguments.....
When Im trying to run a job having just one parameter its working fine.
Is it something to do with the number of parameters.Is there any limitation for the number of parameters?
Can anyone help me out..!!
Im trying to run a job using the option dsjob -run,
The syntax followed by me is,
dsjob -server <server> -user <UserID> -password <XXXXXX> -run -param param1=value param2=value param3=value param4=value <Project> <Jobname>
The error which Im getting is like Invalid Arguments.....
When Im trying to run a job having just one parameter its working fine.
Is it something to do with the number of parameters.Is there any limitation for the number of parameters?
Can anyone help me out..!!
Rohith
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Be more precise about the actual error messages. For example you may be supplying values for parameters that are actually not legal values, such as "FRED" for a Date parameter.
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: 57
- Joined: Wed Oct 21, 2009 4:46 am
- Location: India
It says Invalid arguments....
Invalid arguments: dsjob -run
[-mode <NORMAL | RESET | VALIDATE>]
[-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
Invalid arguments: dsjob -run
[-mode <NORMAL | RESET | VALIDATE>]
[-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
-
- Participant
- Posts: 57
- Joined: Wed Oct 21, 2009 4:46 am
- Location: India
-
- Participant
- Posts: 57
- Joined: Wed Oct 21, 2009 4:46 am
- Location: India