IBM Support

IT31832: fteCreateMonitor ignores any monitor metadata when recreating amonitor from an input file using the -ix parameter

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.


APAR status

  • Closed as program error.

Error description

  • When running the fteCreateMonitor command, specifying the -ix
    parameter to create a resource monitor from an input file, any
    monitor metadata contained within the monitor definition is
    For example:
    - A resource monitor definition is exported to an XML file using
    the fteListMonitors command:
    fteListMonitors -ma IBMagent -mn Monitor -ox
    The Monitor1Definition.xml file contains the monitor metadata
    associated with the monitor:
      <metaData key=“fileLock”>FileExtension:.lck</metaData>
    - The XML file is then used to create a new monitor, using the
    fteCreateMonitor command:
    fteCreateMonitor -ma newIBMAgent -ix /tmp/Monitor1Definition.xml
    However, the newly created monitor does not contain any monitor

Local fix

  •  Use -mmd option while creating the resource monitor using
    fteCreateMonintor command.
     fteCreateMonitor -ix Monitor1Definition.xml  -mmd
    “fileLock=FileExtension:.lck” -f

Problem summary

  • ****************************************************************
    This issue affects users of IBM MQ Managed File Transfer who
    have resource monitors defined that contain monitor metadata.
    Platforms affected:
    When creating a resource monitor using the fteCreateMonitor
    command, it is possible to specify some user-defined metadata
    (also known as monitor metadata) which will be passed to any
    user exits that the monitor has been configured to invoke. The
    monitor metadata is specified by using the -mmd parameter on the
    fteCreateMonitor command.
    If a resource monitor containing monitor metadata is exported to
    an XML file, by specifying the -ox parameter on either the
    fteCreateMonitor or fteListMonitors command, then the resultant
    XML file would contain the monitor metadata as expected, as
    shown in the example below:
        <metaData key="MyKey">MyValue</metaData>
    However, when the resource monitor definition was imported from
    the same XML file, by passing in the -ix parameter on the
    fteCreateMonitor command, the command would ignore the metadata.
    As a result, the monitor would be recreated without its
    associated metadata.

Problem conclusion

  • To resolve this issue, the fteCreateMonitor command has been
    updated to process any monitor metadata contained within the
    input file when the -ix parameter is specified. This ensures
    that the resource monitor is recreated with its associated
    If the fteCreateMonitor command is unable to process the monitor
    metadata contained witn the input file, it will generate an
    exception similar to the one shown below:
    BFGCL0395E: An error occurred attempting to parse the given
    monitor definition file XML. The error was: Open quote is
    expected for attribute "key" associated with an  element type
    The fix is targeted for delivery in the following PTFs:
    Version    Maintenance Level
    v9.0 LTS
    v9.1 CD    TBC.
    v9.1 LTS
    The latest available MQ maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    If the maintenance level is not yet available information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'

Temporary fix


APAR Information

  • APAR number


  • Reported component name

    IBM MQ MFT V9.1

  • Reported component ID


  • Reported release


  • Status


  • PE




  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date


  • Closed date


  • Last modified date


  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    IBM MQ MFT V9.1

  • Fixed component ID


Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
16 April 2020