Page 1 of 1

Using Variables to set connctions

Posted: Thu Jul 15, 2004 8:20 am
by JDionne
I know its a good idea to set variables to use as connection information, but how do I do that with the password?
Jim

Posted: Thu Jul 15, 2004 8:42 am
by denzilsyb
Hi Jim

Try the parameters for the job in the 'job properties'. Under "Type" selct password and then the password you enter will be encrypted in the director log.

you can pass the password to the job using variables from within a job control, as long ass the parameter is set.

Posted: Thu Jul 15, 2004 8:49 am
by chulett
Technically, under 'Type' you select 'Encrypted'. :wink: But other than that, as noted, it's just basically another Job Parameter.

Posted: Thu Jul 15, 2004 8:56 am
by JDionne
chulett wrote:Technically, under 'Type' you select 'Encrypted'. :wink: But other than that, as noted, it's just basically another Job Parameter.
What do I put in the password field in the stage?

Posted: Thu Jul 15, 2004 9:04 am
by chulett
The name of your Job Parameter surrounded by pound signs, like 'normal'. It will be a little wierd because you won't be able to see it, but try using View Data and make sure it prompts you for the Parameter so you know it's ok.

Posted: Thu Jul 15, 2004 12:29 pm
by kduke
Because you cannot see it then we cut and paste it in by putting #TargetPwd# in the description field. Saves time and mistakes.

Posted: Thu Jul 15, 2004 12:51 pm
by chulett
Or on stages with the older 'grid style' available (like OCI) right-click, select 'Grid Style' and then you get an 'Insert Job Parameter' helper. No typing involved. :wink: