Page 1 of 1

Command line parameters viewing process properties

Posted: Wed Apr 16, 2008 1:45 pm
by RodBarnes
When I view the properties for a uvsh.exe program from a task manager, I see something like the following as the command line:

Code: Select all

C:\Ascential\DataStage\Engine/bin/uvsh DSD.RUN seqProcessAgentSummary. 0/50/1/0/0 
Or

Code: Select all

C:\Ascential\DataStage\Engine/bin/uvsh DSD.StageRun jobBuildAgentSummarySnapShot. jobBuildAgentSummarySnapShot.getUser1 62 0/50/1 
Can anyone tell me what the numeric parameters represent? I believe that, for the DSD.RUN, it is the Row Limit and Warn Limit values followed by three other parameters I don't know. With the DSD.StageRun, it again appears to show the Row/Warn Limits but it has a separate numeric value (62 in the above example) and an additional trailing value.

Just thought I might be able to save myself some time if someone already knew what these are.[/code]

Posted: Wed Apr 16, 2008 4:47 pm
by ray.wurlod
I did ask Ascential this question once, but they claimed it was proprietary knowledge and refused to tell me.

Posted: Wed Apr 16, 2008 4:51 pm
by RodBarnes
ray.wurlod wrote:I did ask Ascential this question once, but they claimed it was proprietary knowledge and refused to tell me.
Thanks, Ray. I will research this further then. I have some ideas based upon the available options when running a job. I'll post back what I find.

Posted: Wed Apr 16, 2008 4:55 pm
by ray.wurlod
I believe the third number is run mode - 1=normal, 2=validate, 3=reset.

Re: Command line parameters viewing process properties

Posted: Fri Apr 18, 2008 11:45 am
by RodBarnes
I've confirmed that, in both of the examples (below), the first and second values of the parameter set (delimited by slashes -- "0/50") are "Row Limit" value and the "Warn Limit" value visible from the Run dialog. When doing a "Validate" (rather than a "Run"), the first value is -1 and no other values are passed. When doing a "Reset", the first value is -2 and no other values are passed.

Job/sequence example:

Code: Select all

C:\Ascential\DataStage\Engine/bin/uvsh DSD.RUN seqProcessAgentSummary. 0/50/1/0/0 
Stage example:

Code: Select all

C:\Ascential\DataStage\Engine/bin/uvsh DSD.StageRun jobBuildAgentSummarySnapShot. jobBuildAgentSummarySnapShot.getUser1 62 0/50/1