regarding parameters
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 228
- Joined: Tue Oct 03, 2006 7:08 pm
regarding parameters
Hi,
i defined parameters at project level and making use of these parameters at job level.
i have defined parameters like
ODBC CONNECTION STRING ENTER DSN NAME SSSSS
USER NAME ENCRYPTED ENTER USER NAME SCOTT
PASSWORD STRING ENTER PASSWORD TIGER
iam using these parameters only in the source stage, when i run these parameters iam getting error .
its connecting from the source stage.
iam not using these parameters in target stage.
when i remove the parameter PASSWORD iam not getting any error.
i defined the parameter password correctly, if i would have define incorrect, i would have got error.
plz help me. why am i getting error.
when i run the job it asks for parameter values.iam giving parameter values. why am i getting error when i use parameter for PASSWORD.
and also can i use the same parameters for target stage.
iam using the same DSN AND PASSWORD .
cheers;
vijay
i defined parameters at project level and making use of these parameters at job level.
i have defined parameters like
ODBC CONNECTION STRING ENTER DSN NAME SSSSS
USER NAME ENCRYPTED ENTER USER NAME SCOTT
PASSWORD STRING ENTER PASSWORD TIGER
iam using these parameters only in the source stage, when i run these parameters iam getting error .
its connecting from the source stage.
iam not using these parameters in target stage.
when i remove the parameter PASSWORD iam not getting any error.
i defined the parameter password correctly, if i would have define incorrect, i would have got error.
plz help me. why am i getting error.
when i run the job it asks for parameter values.iam giving parameter values. why am i getting error when i use parameter for PASSWORD.
and also can i use the same parameters for target stage.
iam using the same DSN AND PASSWORD .
cheers;
vijay
-
- Premium Member
- Posts: 1255
- Joined: Wed Feb 02, 2005 11:54 am
- Location: United States of America
Re: regarding parameters
Very poorly framed question. What does 'its' mean in the above sentence?vijaykumar wrote:its connecting from the source stage.
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
-
- Charter Member
- Posts: 822
- Joined: Sat Sep 17, 2005 5:25 pm
- Location: USA
If the Parameters, i.e ODBC,USER NAME, PASSWORD are the same for the source and the target stages, then you can use the same parameters, else you need a seperate set for source and target stages.
How are you putting the value for the PASSWORD in your source stage?
You need to copy the parameter name, in your case PASSWORD, enter it in the password field.
Note: You need to paste it between two #, or in other words, after pasting your PASSWORD parameter in the password field you need to enclose it with two #.
How are you putting the value for the PASSWORD in your source stage?
You need to copy the parameter name, in your case PASSWORD, enter it in the password field.
Note: You need to paste it between two #, or in other words, after pasting your PASSWORD parameter in the password field you need to enclose it with two #.
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.
As mentioned you need to give out the full details before asking for a solution.
The exact error/ warning message. Before that you can check with the basic troubleshooting steps. Was the password marked Encrypted and not passed accordingly. Check by passing hardcoded passwords. Check the director entry for the value of the parameter that been passed. Check if its prompting for password, if not check if # is placed correctly before and after the parameter name.
The exact error/ warning message. Before that you can check with the basic troubleshooting steps. Was the password marked Encrypted and not passed accordingly. Check by passing hardcoded passwords. Check the director entry for the value of the parameter that been passed. Check if its prompting for password, if not check if # is placed correctly before and after the parameter name.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
-
- Participant
- Posts: 228
- Joined: Tue Oct 03, 2006 7:08 pm
hi gurus,
what i mean is i click on view data tab in the source stage, i can view the data, when when i click on create ddl tab in target stage its creating DDL statement too.
iam getting this error.
TESTING..Transformer_2: |TESTING..ODBC_0: DSD.BCIConnect Failed to map LOGON2. LOGON2: ??, NLS map: MS1252|
i have defined parameter password as
PASSWORD ENTER VALUE OF PASSWORD ENCRYPTED TIGER
cheers;
vijay
what i mean is i click on view data tab in the source stage, i can view the data, when when i click on create ddl tab in target stage its creating DDL statement too.
iam getting this error.
TESTING..Transformer_2: |TESTING..ODBC_0: DSD.BCIConnect Failed to map LOGON2. LOGON2: ??, NLS map: MS1252|
i have defined parameter password as
PASSWORD ENTER VALUE OF PASSWORD ENCRYPTED TIGER
cheers;
vijay
Re: regarding parameters
So you say, if you give the password directly, you dont get this error?vijaykumar wrote: when i remove the parameter PASSWORD iam not getting any error.
vijaykumar wrote: TESTING..Transformer_2: |TESTING..ODBC_0: DSD.BCIConnect Failed to map LOGON2. LOGON2: ??, NLS map: MS1252|
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.
-
- Participant
- Posts: 228
- Joined: Tue Oct 03, 2006 7:08 pm
hi,
i have defined as
username string enter user name scott
password encrypted enter password tiger
odbc connection string enter dsn name ssss
now i have called these parameter at joblevel.
iam using the same parameters for both source and target.
iam defining in my source and target stages as
#$odbcconnection# #$username# #$password#.
inorder to test i clicked on view data tab in source stage.
its connecting ,i can view the data.
but when i run the job, its asking for parameter values, iam entering
values for these parameters (ie) scott, tiger and ssss.
but iam getting fatal error.
TESTING..Transformer_2: |TESTING..ODBC_0: DSD.BCIConnect Failed to map LOGON2. LOGON2: ??, NLS map: MS1252|.
plz help me.
cheers;
vijay
i have defined as
username string enter user name scott
password encrypted enter password tiger
odbc connection string enter dsn name ssss
now i have called these parameter at joblevel.
iam using the same parameters for both source and target.
iam defining in my source and target stages as
#$odbcconnection# #$username# #$password#.
inorder to test i clicked on view data tab in source stage.
its connecting ,i can view the data.
but when i run the job, its asking for parameter values, iam entering
values for these parameters (ie) scott, tiger and ssss.
but iam getting fatal error.
TESTING..Transformer_2: |TESTING..ODBC_0: DSD.BCIConnect Failed to map LOGON2. LOGON2: ??, NLS map: MS1252|.
plz help me.
cheers;
vijay
-
- Premium Member
- Posts: 1255
- Joined: Wed Feb 02, 2005 11:54 am
- Location: United States of America
You need not enter the same values again when you run the job, the job will automatically pull the default values assigned for the variables being used, which in your case are the same.vijaykumar wrote:but when i run the job, its asking for parameter values, iam entering
values for these parameters (ie) scott, tiger and ssss.
but iam getting fatal error.
TESTING..Transformer_2: |TESTING..ODBC_0: DSD.BCIConnect Failed to map LOGON2. LOGON2: ??, NLS map: MS1252|.
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
-
- Participant
- Posts: 228
- Joined: Tue Oct 03, 2006 7:08 pm
HI,
yaa when i click view data, it asks to enter password, when i enter password ,its working fine from the source stage.
i didn't touch the NLS tab.
i can see one thing actually password tiger is of length 5 But it only changes its length to 7 cannot understand,whats going on.but i can see the encrypted string length its 7. but i dont think its the reason bz if that is the reason then i shouldn't view the data from source stage. but i can view the data, plz help me.when i remove parameter password and include only 2 parameters its working fine.
iam getting error
TESTING..ODBC_0: DSD.BCIConnect Failed to map LOGON2. LOGON2: ??, NLS map: MS1252.
cheers;
vijay
yaa when i click view data, it asks to enter password, when i enter password ,its working fine from the source stage.
i didn't touch the NLS tab.
i can see one thing actually password tiger is of length 5 But it only changes its length to 7 cannot understand,whats going on.but i can see the encrypted string length its 7. but i dont think its the reason bz if that is the reason then i shouldn't view the data from source stage. but i can view the data, plz help me.when i remove parameter password and include only 2 parameters its working fine.
iam getting error
TESTING..ODBC_0: DSD.BCIConnect Failed to map LOGON2. LOGON2: ??, NLS map: MS1252.
cheers;
vijay
-
- Charter Member
- Posts: 822
- Joined: Sat Sep 17, 2005 5:25 pm
- Location: USA