Activity report format

Activity reports are standard IBM MQ report messages containing a message descriptor and message data. Activity reports are PCF messages generated by applications that have performed an activity on behalf of a message as it has been routed through a queue manager network.

Activity reports contain the following information:

    A message descriptor
    An MQMD structure

    Message data
    Consists of the following:

    • An embedded PCF header (MQEPH).
    • Activity report message data.

Activity report message data consists of the Activity PCF group and, if generated for a trace-route message, the TraceRoute PCF group. Table 1 shows the structure of these reports, including parameters that are returned only under certain conditions.

MQMD structure Embedded PCF header MQEPH structure Activity report message data
Structure identifier
Structure version
Report options
Message type
Expiration time
Feedback
Encoding
Coded character set ID
Message format
Priority
Persistence
Message identifier
Correlation identifier
Backout count
Reply-to queue
Reply-to queue manager
User identifier
Accounting token
Application identity data
Application type
Application name
Put date
Put time
Application origin data
Group identifier
Message sequence number
Offset
Message flags
Original length
  
Structure identifier
Structure version
Structure length
Encoding
Coded character set ID
Message format
Flags
PCF header (MQCFH)
Structure type
Structure length
Structure version
Command identifier
Message sequence number
Control options
Completion code
Reason code
Parameter count
  
Activity
Activity application name
Activity application type
Activity description
Operation
Operation type
Operation date
Operation time
Message
Message length
MQMD 8
EmbeddedMQMD
Queue manager name
Queue sharing group name
Queue name 1
2
3
7

Resolved queue name 1
3

7

Remote queue name 3
7

Remote queue manager name 2
3
4
5

7

Subscription level 9
Subscription identifier
9

Feedback 2
10

Channel name 4
5

Channel type 4
5

Transmission queue name 5
TraceRoute 6
Detail
Recorded activities
Unrecorded activities
Discontinuity count
Max activities
Accumulate
Deliver
  
Notes:
  1. Returned for Get and Browse operations.
  2. Returned for Discard operations.
  3. Returned for Put, Put Reply, and Put Report operations.
  4. Returned for Receive operations.
  5. Returned for Send operations.
  6. Returned for trace-route messages.
  7. Not returned for Put operations to a topic, contained within Publish activities.
  8. Not returned for Excluded Publish operations. For Publish and Discarded Publish operations, returned containing a subset of parameters.
  9. Returned for Publish, Discarded Publish, and Excluded Publish operations.
  10. Returned for Discarded Publish and Excluded Publish operations.

Parent topic: Activity report reference