IBM Support

DFHPI1007 XML_FORMAT_ERROR Invalid XML data character when installing BUNDLE in CICS

Question & Answer


Question

I have been using an FTP process to copy my CICS bundle directory from development to production. But now when I try to install the BUNDLE resource definitions I get the following messages:

 DFHRL0124 E date time applid CEDA The CICS resource
    lifecycle manager failed to create resource xxxxxxxxxx
    of type http://www.ibm.com/xmlns/prod/cics/bundle/OSGIBUNDLE 
    for BUNDLE xxxxxxx.
 DFHRL0102 E date time applid CEDA The CICS resource
    lifecycle manager failed to create the resource
    xxxxxxxxxx and returned with reason CALL_BACK_ERROR.
 ...
 DFHPI1007 date time applid CEDA XML to data transformation
    failed because of incorrect input (XML_FORMAT_ERROR
    Invalid XML data character) for OSGIBUNDLE xxxxxxxxxx.

Why is this problem occurring?

Answer

The DFHPI1007 error message is indicating that the failure is due to the XML (or JSON) not being well-formed. There should be additional information within the CICS trace files.

XML not well-formed problems are typically caused by misconfigured files and since files were being copied from one system to another, this should be easy to repair. One of the files copied over was the cics.xml file. So as a first step,

  1. Verify that the xml file(s) are well-formed. A well-formed XML document conforms to the general rules of XML syntax. Sometimes, you can tell if the file is well-formed just by browsing it.

  2. Try copying the file over once again and see if the problem still occurs.

  3. In the FTP step, make sure the bundle file was copied over to z/OS as a BINARY mode file (not ASCII).

Shayla Robinson
CICS CPSM Level2 Support

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"bundle,cics,cicsts,osgi","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

CICS/TS CICSTS CICS TS CICS Transaction Server

Document Information

Modified date:
07 February 2018

UID

dwa1429467