Page 1 of 1

List of parameter values

Posted: Wed Aug 01, 2012 12:50 am
by dr.murthy
How to get the list of parameter values that used in a job.
dsjob -lparams command gives the only the parameter not giving the default values.

Any one have an idea how to get the parameter name and default value.

Posted: Wed Aug 01, 2012 1:43 am
by ArndW
I don't know of a way to get this from the command line. The DataStage API function DSGetParamInfo will get you the default values (the link goes to the IBM page for the BASIC call, but there is also a c++ call available).

Posted: Sat Aug 11, 2012 5:59 pm
by kduke
We also got values from ParameterSets directory in the project. Easy to script something that way. We validated the values that way. So picking DEV, TEST or PROD values from a script was possible based on server name. So the script would get the server name and set the values based on if it was the DEV machine or whatever box the script was running on.