List all the parameters for the given stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
ramudwhelp
Participant
Posts: 24
Joined: Mon Jul 24, 2006 12:30 am

List all the parameters for the given stage

Post 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.
Ramakrishna
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Don't recall what all is output but there is a "dsjob -stageinfo" option from what I recall. Perhaps that will help.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
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