It's all about the answers!

Ask a question

Is it possible to use build properties in build data sets?


Spencer Murata (2.3k115870) | asked Sep 18 '12, 11:09 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
I have multiple data sets in different HLQs (IBMCIT and IBMCIP) but with a common name CLIB.  Can I use the build definition properties to switch between the two HLQs?

Accepted answer


permanent link
Spencer Murata (2.3k115870) | answered Sep 18 '12, 11:15 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
 A data set name is defined in a data set definition.  Build properties cannot be used in a data set definition because data set definitions may be used for other than builds. 

Solution for this case is to define two different data set definitions for "IBMCIT.CLIB" and "IBMCIP.CLIB".  In the translator definitions, we specify a build property, say "cit.clib", then define the cit.clib in two build definitions.  In the build definition for the test environment, cit.clib is defined as the data set definition for  "IBMCIT.CLIB" and in the build definition for the production environment, cit.clib is defined as the data set definition for  "IBMCIP.CLIB".
Spencer Murata selected this answer as the correct answer

Your answer


Register or to post your answer.