Read "Parameter Set" through Unix

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
mystuff
Premium Member
Premium Member
Posts: 200
Joined: Wed Apr 11, 2007 2:06 pm

Read "Parameter Set" through Unix

Post by mystuff »

Hi All,

I want to read parameters and their values in Parameter Set via Unix. Is there anyway I could do that.

I tried searching manuals for dsjob, dssearch, but wasn't able to find any.


Thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Seeing as how we have no idea what you mean by "read" in this context or even "via UNIX", that makes this impossible to answer. Can you clarify please? Perhaps throw in an example or two? Are you trying to script something? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
mystuff
Premium Member
Premium Member
Posts: 200
Joined: Wed Apr 11, 2007 2:06 pm

Post by mystuff »

I want to obtain all the Parameters and their Values from a particular "Parameter Set".

I want to do this via Unix. Just similar to

Code: Select all

dsjob -lparams projectname jobname
But instead of

Code: Select all

jobname
, I want to obtain from a "Parameter Set" say XYZ
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Not that way. Does the Parameter Set have values files?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mystuff
Premium Member
Premium Member
Posts: 200
Joined: Wed Apr 11, 2007 2:06 pm

Post by mystuff »

Yes Ray, it has value fields
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

He asked if it has an associated value file.
-craig

"You can never have too many knives" -- Logan Nine Fingers
mystuff
Premium Member
Premium Member
Posts: 200
Joined: Wed Apr 11, 2007 2:06 pm

Post by mystuff »

Hi Ray/Craig,

Sorry about that. Yes, the parameter set contains Value Files as well
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Within your project directory on the server there should be a directory called ParameterSets.

Within that directory there is a subdirectory of the same name as each Parameter Set.

Within the subdirectory is where the values files live. You can read these as regular operating system text files (noting that encrypted parameters are stored in a "pure text encrypted" form).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mystuff
Premium Member
Premium Member
Posts: 200
Joined: Wed Apr 11, 2007 2:06 pm

Post by mystuff »

Hi Ray,

Thanks for the information.

If the parameter sets don't have Value Files, then is there any other way to read them instead of going to the project directory.

Thanks
Post Reply