Page 1 of 1

List all the parameters for the given stage

Posted: Mon Aug 03, 2009 2:36 am
by ramudwhelp
Hi ,

Is there any query/command which can list out all the job parameters used in a given stage, Like for a job we used the command "dsjob -lparams <Project> <job Name> " to list all the parameters.

Thanks in advance.

Posted: Mon Aug 03, 2009 6:32 am
by chulett
Don't recall what all is output but there is a "dsjob -stageinfo" option from what I recall. Perhaps that will help.

Posted: Mon Aug 03, 2009 4:57 pm
by ray.wurlod
The answer is no. Parameters are job properties, not stage properties.

The only way to get the parameters named in a given stage is to interrogate the stage metadata, and that's non-trivial, particularly for stage types that use references to parameters inside expressions, where they are not surrounded by sharp signs.

That interrogation may be against the repository or against an export file.