Page 1 of 1

Job parameters to BuildOP

Posted: Mon Nov 15, 2004 6:01 am
by tom Sikora
Can job parameters be used inside a custom stage BuildOP?

If so, how?

I don't want to pass all the data through a Transformer just to acquire the job parameter by way of the input record.

tom

Posted: Mon Nov 15, 2004 9:38 am
by Eric
You can't reference a Job parameter in a buildOp, but I think you can pass the Value of a job parameter into the BuildOp as one of the arguments.

Posted: Mon Nov 15, 2004 11:13 pm
by T42
Yes, you can use the job's parameters within the buildop. Think of the buildop as a function call. You need to set up the stage parameters on the buildop stage to obtain values from those job parameters.

See the following pages on the Parallel Job Guide (my copy is 7.0.1, so your may be different) -- On parjdev.pdf - Chapter 55 - "Specifying Your Own Parallel Stage" - See information about the "Properties" tag for BuildOPs.