Compare Variable value to Value set of Parameter set

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
manishmaheshwari2608
Participant
Posts: 5
Joined: Fri Dec 30, 2011 2:51 am

Compare Variable value to Value set of Parameter set

Post by manishmaheshwari2608 »

Hi All

I need one help .

I have to compare the value of a variable in sequencer to pick the value from the parameter set based on that value.

For example: if the variable has value "Football" then I have to pick the values from the valueset having the value "Football"

How to achieve this scenario.

Please help
nagarjuna
Premium Member
Premium Member
Posts: 533
Joined: Fri Jun 27, 2008 9:11 pm
Location: Chicago

Post by nagarjuna »

It's not clear ..Please explain in detail ..What do you mean by value set ? Is it value file in parameter set ??
Nag
jwiles
Premium Member
Premium Member
Posts: 1274
Joined: Sun Nov 14, 2004 8:50 pm
Contact:

Post by jwiles »

The valueset is just a text file with lines of the format:

parameter=value

The file is located in the Projects directory: projectname/ParameterSets/parametersetname/valuesetname

Knowing the names of the parameterset and valueset, you can examine the text file for the values and extract the parameter names. grep or a BASIC routine can easily perform the search.

Regards,
- james wiles


All generalizations are false, including this one - Mark Twain.
Post Reply