Page 1 of 1

Read "Parameter Set" through Unix

Posted: Sun Apr 25, 2010 2:11 am
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

Posted: Sun Apr 25, 2010 8:32 am
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? :?

Posted: Sun Apr 25, 2010 10:19 am
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

Posted: Sun Apr 25, 2010 9:19 pm
by ray.wurlod
Not that way. Does the Parameter Set have values files?

Posted: Mon Apr 26, 2010 6:33 am
by mystuff
Yes Ray, it has value fields

Posted: Mon Apr 26, 2010 6:36 am
by chulett
He asked if it has an associated value file.

Posted: Mon Apr 26, 2010 9:38 pm
by mystuff
Hi Ray/Craig,

Sorry about that. Yes, the parameter set contains Value Files as well

Posted: Mon Apr 26, 2010 10:24 pm
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).

Posted: Thu Apr 29, 2010 6:05 am
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