Regarding Parameters
Moderators: chulett, rschirm, roy
a) This stuff isn't all that hard to figure out on your own, give it a little more effort before posting. Please.
b) The letter in front of the 'params' option is an 'l' for 'List', not a 1 as you've shown you are using.
c) That command won't get you what you want.
b) The letter in front of the 'params' option is an 'l' for 'List', not a 1 as you've shown you are using.
c) That command won't get you what you want.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 228
- Joined: Tue Oct 03, 2006 7:08 pm
Hi Gurus,
I went to the path where these projects are found.
In the command path i went to
c:\ascential\datastage\projects\salma10.
and i gave the command
dsjob -1params salma10 job1
iam getting error.
INVALID/UNKNOWN PRIMARY COMMAND SWITCH.
dsjob [-file <file> <server> | [-server <server>][-user <user>][-password <password>]]
<primary command> [<arguments>]
cheers;
vijay
I went to the path where these projects are found.
In the command path i went to
c:\ascential\datastage\projects\salma10.
and i gave the command
dsjob -1params salma10 job1
iam getting error.
INVALID/UNKNOWN PRIMARY COMMAND SWITCH.
dsjob [-file <file> <server> | [-server <server>][-user <user>][-password <password>]]
<primary command> [<arguments>]
cheers;
vijay
Looks like you are using '1' (One) instead of 'l' (Alphabet l)
Use
not
Or was it a typo?
Use
Code: Select all
dsjob -lparams salma10 job1
Code: Select all
dsjob -1params salma10 job1
Or was it a typo?
Narasimha Kade
Finding answers is simple, all you need to do is come up with the correct questions.
Finding answers is simple, all you need to do is come up with the correct questions.
-
- Premium Member
- Posts: 1255
- Joined: Wed Feb 02, 2005 11:54 am
- Location: United States of America
You cannot run the command from there. You need run it from :vijaykumar wrote:Hi Gurus,
I went to the path where these projects are found.
In the command path i went to
c:\ascential\datastage\projects\salma10.
and i gave the command
dsjob -1params salma10 job1
Code: Select all
C:\Program Files\Ascential\DataStage7.5.1
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
Actually, he could so his PATH must be setup correctly. You can tell because it complained about the INVALID/UNKNOWN PRIMARY COMMAND SWITCH, not the fact that it couldn't find the executable.
And you don't need to be 'in the path where the Projects are found' for it to find things properly - you just need to get the dang command right.
And you don't need to be 'in the path where the Projects are found' for it to find things properly - you just need to get the dang command right.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 228
- Joined: Tue Oct 03, 2006 7:08 pm
Hi Gurus,
Its working fine , i used command dsjob -paraminfo SALMA10 JOB1 $ODBCCONNECTION.
Iam getting default value- $projdef.
i went to director and checked the log, i can't find the Actual value.
please help me Gurus, from where i can get the actual value.
Thanks very much Gurus, please help me how to retrieve the actual value.
cheers;
vijay
Its working fine , i used command dsjob -paraminfo SALMA10 JOB1 $ODBCCONNECTION.
Iam getting default value- $projdef.
i went to director and checked the log, i can't find the Actual value.
please help me Gurus, from where i can get the actual value.
Thanks very much Gurus, please help me how to retrieve the actual value.
cheers;
vijay
-
- Charter Member
- Posts: 822
- Joined: Sat Sep 17, 2005 5:25 pm
- Location: USA
In DS Administrator, where you set up the default values.Saama wrote:please help me Gurus, from where i can get the actual value.
Not sure if you can get this information from dsjob -paraminfo.
Environment Variable is more a global thing than specific to a job.
Would be interesting if somebody know how to get its value through command line.
Narasimha Kade
Finding answers is simple, all you need to do is come up with the correct questions.
Finding answers is simple, all you need to do is come up with the correct questions.
No, you can't.narasimha wrote:Not sure if you can get this information from dsjob -paraminfo.
Oddly enough, you need to go back to Ray's first reply to this whole Charley Foxtrot for the answer - it's all in the logs. That is where you need to go to find what you are looking for. The first log entry lists the parameter values in that particular run and the second lists all of the environment variables in play. He even gave the commands to help you farm the appropriate records out.
Now go do it, it's just an exercise in shell scripting. If you need some help, go ask your Team Lead.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers