Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

In RTC EE Build definition, Can the resource prefix have variable names that could be substituted at run time to form the DSN prefix name ?

Currently using RTC v5.0.2, Clarification on the build definitions, specifically zOS Dependency Build - Rational Build Agent.

Can the Resource prefix under "Jazz Source Control" be variables that could be substituted at the build request time ? Similar to Load directory.

Example:- HLQ.RTC.${APPLNAME}.${ENVNAME}

Use case:- We are having to create build definitions for each sub appl pneumonic since it takes literals.

Wish Goal:- Use variables that could be substituted based on the context within which the zFile lives (partial or full names of - zComponent, zComponent Project, zFolder)

Or any other alternative ?

Thank you,

Ravikanth Chavali

0 votes



2 answers

Permanent link
Hi Ravikanth - Resource Prefix is not supported to use variables. However if compiling to get dual modules into different PDS is your use case, you could try conditional translators available since 5.0.1, see https://www-01.ibm.com/support/knowledgecenter/SSCP65_5.0.1/com.ibm.team.scm.doc/topics/t_RTCz_createtranslnode.html?lang=en for details. 

0 votes


Permanent link
 Ravikanth,

If your ENVNAME maps to DEV, INT or PROD, would it make sense to reverse your qualifiers to HLQ.RTC.$ENVNAME.$APPLNAME?  If possible, then you can simply have build definitions for each environment that have the corresponding prefix HLQ.RTC.$ENVNAME but the $APPLNAME will instead be prepended to the value in the data set definition that's associated to your zFolders.  So if you have a zFolder called COBOL with COBOL also being the value defined in the data set definition associated with that zFolder, you would define application specific zFolders with a data set definition that contains the name $APPLNAME.COBOL

0 votes

Comments

 That's true; But the way I see it is, that just shits the problem to a different side. Instead of having multiple build definitions, we will end up having multiple dataset definitions for each type(src-cob, pli, ezt, asm, jcl, proc, parm, etc.) of zFolder for each application (~20) , and also make sure to do the mapping/association correct.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,121
× 69

Question asked: Sep 23 '15, 5:02 p.m.

Question was seen: 3,900 times

Last updated: Sep 30 '15, 1:44 p.m.

Confirmation Cancel Confirm