To run a job from Command line
Moderators: chulett, rschirm, roy
To run a job from Command line
Hi,
I am new to this tool.
I have created a job with a parameter set file, consists of almost ten parameters.
I want to run that job from command line just by giving parameter set file name instead of giving each param.
Please let me know how to do this.
Thanks in Advance!
Regards,
Venkat Jaksani
I am new to this tool.
I have created a job with a parameter set file, consists of almost ten parameters.
I want to run that job from command line just by giving parameter set file name instead of giving each param.
Please let me know how to do this.
Thanks in Advance!
Regards,
Venkat Jaksani
Thanks & Regards,
Venkat Jaksani
Venkat Jaksani
Make the name of the Parameter set to be one of your job properties, then pass that on the command line as part of the -param option.
Execute $DSHOME/bin/dsjob -run on the command line to see the options for running the job if you're not familiar with all of them.
Regards,
Execute $DSHOME/bin/dsjob -run on the command line to see the options for running the job if you're not familiar with all of them.
Regards,
- james wiles
All generalizations are false, including this one - Mark Twain.
All generalizations are false, including this one - Mark Twain.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
To specify a values file use
Code: Select all
-param paramsetname=valuesfilename
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.
Hi,
I could not find 'Paramsetname' option in the below
dsjob -run
[-mode <NORMAL | RESET | VALIDATE>]
[-paramfile <filename>]
[-param <name>=<value>]
[-warn <n>]
[-rows <n>]
[-wait]
[-opmetadata <TRUE | FALSE>]
[-disableprjhandler]
[-disablejobhandler]
[-jobstatus]
[-userstatus]
[-local]
[-useid]
<project> <job|jobid>
I have tried below command
dsjob -run -paramfile NameTest -param ValueFilename=Test <consists of param values> OD_PROJECTS_DEV1<Project Name> nametestjob_uivj0<Job Name>
But it is not worked.
Please let me know the corrections to be made to above command.
I could not find 'Paramsetname' option in the below
dsjob -run
[-mode <NORMAL | RESET | VALIDATE>]
[-paramfile <filename>]
[-param <name>=<value>]
[-warn <n>]
[-rows <n>]
[-wait]
[-opmetadata <TRUE | FALSE>]
[-disableprjhandler]
[-disablejobhandler]
[-jobstatus]
[-userstatus]
[-local]
[-useid]
<project> <job|jobid>
I have tried below command
dsjob -run -paramfile NameTest -param ValueFilename=Test <consists of param values> OD_PROJECTS_DEV1<Project Name> nametestjob_uivj0<Job Name>
But it is not worked.
Please let me know the corrections to be made to above command.
Thanks & Regards,
Venkat Jaksani
Venkat Jaksani
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Code: Select all
dsjob [ login_clause ] -run -param NameTest=Test -jobstatus Training Nametest
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.
I have given below command
./dsjob -run -param NameTest=Test -jobstatus OD_PROJECTS_DEV1<Project Name> nametestjob_uivj0<job name>
It is throwing below error message.
Error -3 getting information for parameter 'NameTest'
Status code = -3 DSJE_BADPARAM
Please help me.
./dsjob -run -param NameTest=Test -jobstatus OD_PROJECTS_DEV1<Project Name> nametestjob_uivj0<job name>
It is throwing below error message.
Error -3 getting information for parameter 'NameTest'
Status code = -3 DSJE_BADPARAM
Please help me.
Thanks & Regards,
Venkat Jaksani
Venkat Jaksani
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: