Regarding Parameters
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 228
- Joined: Tue Oct 03, 2006 7:08 pm
Regarding Parameters
Hi Gurus,
I want to retrieve the actual value of the parameter using Operating system command utility.
please help me , Because my team lead wants to find a way retrieve the actual environmental variable value which we specify in the administrator using operating system utility.
plz Gurus help me
cheers;
vijay
I want to retrieve the actual value of the parameter using Operating system command utility.
please help me , Because my team lead wants to find a way retrieve the actual environmental variable value which we specify in the administrator using operating system utility.
plz Gurus help me
cheers;
vijay
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
dsjob is the utility. You need to retrieve the "job started" event (find the newest log ID of type "started" using -lognewest option). Among other things, this reports the parameter values that were used for that run. Read the detail of that event using -logdetail option.
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: 228
- Joined: Tue Oct 03, 2006 7:08 pm
-
- 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:
Don't supply the user name. Or, if you need to, use the appropriate options for hostname, user name and password.
Type dsjob by itself to obtain a syntax summary.
Type dsjob by itself to obtain a syntax summary.
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.
-
- Premium Member
- Posts: 1255
- Joined: Wed Feb 02, 2005 11:54 am
- Location: United States of America
Note:vijaykumar wrote: plz help me in listing the actual value of the parameter.
dsjob -lparams command will list all the parameters used for a particular job. It will not return you a value of a specific parameter.
Whale.
Anything that won't sell, I don't want to invent. Its sale is proof of utility, and utility is success.
Author: Thomas A. Edison 1847-1931, American Inventor, Entrepreneur, Founder of GE
Author: Thomas A. Edison 1847-1931, American Inventor, Entrepreneur, Founder of GE
Look for complete sytax there. lparams will list all the params the job is using and not the value for that param. You need the option -paraminfo with dsjob.I_Server_Whale wrote: Refer to the Server Job Developer Guide pdf manual.
Code: Select all
dsjob -paraminfo <Projectname> <JobName> <ParameterName>
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 1255
- Joined: Wed Feb 02, 2005 11:54 am
- Location: United States of America
Didn't the OP want the default value assigned in the Administrator?vijaykumar wrote:Because my team lead wants to find a way retrieve the actual environmental variable value which we specify in the administrator using operating system utility.
Phew!DSguru2B wrote:Look for complete sytax there. lparams will list all the params the job is using and not the value for that param. You need the option -paraminfo with dsjob.Code: Select all
dsjob -paraminfo <Projectname> <JobName> <ParameterName>
![Embarassed :oops:](./images/smilies/icon_redface.gif)
![Smile :)](./images/smilies/icon_smile.gif)
Whale.
Anything that won't sell, I don't want to invent. Its sale is proof of utility, and utility is success.
Author: Thomas A. Edison 1847-1931, American Inventor, Entrepreneur, Founder of GE
Author: Thomas A. Edison 1847-1931, American Inventor, Entrepreneur, Founder of GE
-
- Premium Member
- Posts: 1255
- Joined: Wed Feb 02, 2005 11:54 am
- Location: United States of America
-
- Participant
- Posts: 228
- Joined: Tue Oct 03, 2006 7:08 pm
Hi Gurus,
I don't know the operating system to get the job id.
I used the command
DSJOB -1params [useid] salma10 job1
Iam getting error
status code=-9999 DSJE_DSJOB_ERROR.
why am i getting this error, its because i didn't use the jobid.
My operating system is windows, how to get jobid.
please help me Gurus.
cheers;
vijay
I don't know the operating system to get the job id.
I used the command
DSJOB -1params [useid] salma10 job1
Iam getting error
status code=-9999 DSJE_DSJOB_ERROR.
why am i getting this error, its because i didn't use the jobid.
My operating system is windows, how to get jobid.
please help me Gurus.
cheers;
vijay