It's all about the answers!

Ask a question

Dataset definition as a variable?


Robert Johnston (4378) | asked Oct 22 '13, 11:40 a.m.

I'm trying to build a product that has a number of components. I'd like the output datasets to reflect the component that the parts came from.  Right now, the only way I can see to do that is to create Dataset Definitions for each of the 5 components, then create a translator for each of the different Dataset Definitions.  Is there a way to have the dataset definition as a variable?  I see when I define a DD allocation in the translator that I can use a build property, but I can't get that to work with a dataset. I get an exception about INVALID UUID.

For example I have source code datasets as: (and yes, I have the same part name with slightly different code)

PROD.COMP1.ASSEMBLE(asmpart1)

PROD.COMP2.ASSEMBLE(asmpart1)

PROD.COMP3.ASSEMBLE(asmpart1)

I really need the output datasets to be

PROD.COMP1.SYSLIN

PROD.COMP2.SYSLIN

PROD.COMP3.SYSLIN

Thanks

Rob.

Be the first one to answer this question!


Register or to post your answer.