Is it possible to use build properties in build data sets?
![]()
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
![]()
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
|