Question & Answer
Question
When using DFHDPLOY to deploy a CICS BUNDLE, I am getting error DFHRL2107E (bundle of same name is already deployed), I am using a brand new BUNDLE named NEWBUND that does not yet exist. This is the error message text:
DFHRL2107E BUNDLE(NEWBUND) cannot be deployed to SCOPE(CICSCTC) as a bundle of the same name has already been installed.
DFHRL2055I Errors have occurred, processing terminated.
I need help understanding where the duplicate BUNDLE name is coming from.
Answer
The DFHRL2107E message is telling you that there is a conflict with an installed bundle. The message is a little misleading in this case since it says that there is a bundle with the same name installed. When looking at the trace embedded in the DFHDPLOY job log, I can see the problem is that another bundle contains the same BundleID as the new bundle (NEWBUND) trying to be deployed.
From the trace embedded in the DFHDPLOY job log I can see a GET_BUNDLE_BY_ID command being issued:
ENTRY: GET_BUNDLE_BY_ID:(ENABLED,CPSMCTC,CICSCTCA)
WAITER :(0006)
GET BUNDLE:((BUNDLEID='COM.IBM.CICS.SERVICES.TEST.CTCBUNDLE'
AND MAJORVERSION=1 AND MINORVERSION=0 MICROVERSION=0).,
CICSCTCA,0,0,SCHEDULED 1025,N/A 0)
Next the trace shows the following response from this GET_BUNDLE_BY_ID and it indicates that there already is an installed bundle named CTCBUND with the same BundleID as NEWBUND:
BUNDLE ==> :(CICSCTCA ENABLED NONE CTCBUND )
GET BUNDPART FAILED:(1027,0)
Next trace shows the following error:
DFHRL2107E BUNDLE(NEWBUND) CANNOT BE DEPLOYED TO SCOPE(CICSCTCA) AS A BUNDLE OF THE SAME NAME HAS ALREADY BEEN INSTALLED.
RC8_NOPARTSEXIT
RESPONSE(1027)
REASON(0)
CURRENTRC(0)
DEPLOYRC(DEPLOYRC)
I formatted a dump of CICS region CICSCTCA using IPCS command VERBX DFHPD700 'RL' (where 700 is for V5.3 of CICS) and did a find on "CTCBUND". This showed me that bundle CTCBUND is installed and enabled, with BundleID com.ibm.cics.services.test.CTCBUNDLE. This is the same BundleID that NEWBUND is trying to use.
Bundle | Token | State | Availstatus | DC | EC |
CTCBUND | 3F11B92000000001 | ENABLED | NONE | 0001 | 0001 |
Bundle ID : com.ibm.cics.services.test.CTCBUNDLE
Each bundle in the CICS region must have a unique Bundle ID, otherwise you will get this conflict at install time. You must ensure that you do not replicate the Bundle Id in any of the generated bundle manifests.
Product Synonym
CICS/TS CICSTS CICS TS CICS Transaction Server
Was this topic helpful?
Document Information
Modified date:
27 February 2020
UID
dwa1398211