How to get Value File Name from 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
MrBlack
Participant
Posts: 125
Joined: Wed Aug 08, 2012 8:57 am

How to get Value File Name from Parameter Set

Post by MrBlack »

Is there a way at run-time (inside a user variable activity, etc..), to get the Value File Name value from a parameter set?

I build my parameter set values with a DEV/TEST/PROD version of each parameter. This makes it simple when I run to select which values to use. I would like to get this "target environment" selection and include it in the subject of an email.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I'd probably use a server routine with DSJ.ME as the job handle argument. These can be invoked from user variables. The "value" of the Parameter Set (DSGetParamInfo() function) is the name of the values file, if one was used.
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