List of parameter values

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
dr.murthy
Participant
Posts: 224
Joined: Sun Dec 07, 2008 8:47 am
Location: delhi

List of parameter values

Post 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.
D.N .MURTHY
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post 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).
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post 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.
Mamu Kim
Post Reply