Job parameters to BuildOP

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
tom Sikora
Participant
Posts: 2
Joined: Wed Aug 13, 2003 5:58 am

Job parameters to BuildOP

Post 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
Eric
Participant
Posts: 254
Joined: Mon Sep 29, 2003 4:35 am

Post 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.
T42
Participant
Posts: 499
Joined: Thu Nov 11, 2004 6:45 pm

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