Page 1 of 1

Job parameters

Posted: Tue Dec 08, 2009 1:06 am
by vinsashi
Hi,
I have delcared some jobparameters for jobs.
at the time running i have to give values for that parameters

Code: Select all

stgdbuserid
stgdbpassword
for example above two are parameters.but i need to give values for that from one text file.for that i wil get one text file(in that the values are availble for job parameters).when i run the job that should take parameters fro that file.Please Help me

Thanks
v..

Posted: Tue Dec 08, 2009 1:13 am
by kamalshil
Hi,
For this you can use this technique.
if you can use sequence
use flow like this:

Code: Select all

Command Activity->UserVariable activity->Job Activity
1. Command activity : Read your input file in this activity.
2. UserVariable : read the output of previous activity and store it in two variables.
3. Job activity : pass the variable activity variables to your job.

Hope this might help you.
Thanks

Posted: Tue Dec 08, 2009 6:45 am
by chulett
Exactly, parameter sets with value files should do the trick.

Posted: Tue Dec 08, 2009 1:28 pm
by ray.wurlod
Beware, however, that it is not possible to assign a value to a parameter in a Parameter Set from a sequence.