Assigning values from file to paramter

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Scope
Premium Member
Premium Member
Posts: 63
Joined: Wed Jun 06, 2007 6:38 am
Location: Chennai

Assigning values from file to paramter

Post by Scope »

hai

i have a parameter file. i want to pass values in parameter file to Job sequence paramters


eg:


file.txt
--------------------------
username:abc
password:xxx
----------------------------

i want to pass this username and password to job sequence parameters.
Kumarez
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

read the file by using execute command stage in the sequence and pass these values as job parameters.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You can not pass them the the parameters of the job sequence itself (these are locked in when the job sequence starts), but you can use user variables or activity variables to retrieve the results.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Does the answer in this post (a duplicate from you) help?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply