Table of Contents

Search

  1. Preface
  2. Understanding PowerExchange for WebSphere MQ
  3. Configuring PowerExchange for WebSphere MQ
  4. Working with WebSphere MQ Sources
  5. MQ Source Qualifier Transformation
  6. Working with WebSphere MQ Targets
  7. Creating and Configuring WebSphere MQ Workflows
  8. Appendix A: Datatype Reference
  9. Appendix B: Code Pages for PowerExchange for WebSphere MQ
  10. Appendix C: Glossary of Terms

PowerExchange for WebSphere MQ User Guide for PowerCenter

PowerExchange for WebSphere MQ User Guide for PowerCenter

Working with a Dynamic MQSeries Target Definition

Working with a Dynamic MQSeries Target Definition

Use a dynamic MQSeries target definition when you write data to WebSphere MQ message header fields from the pipeline. The MQSeries target definition contains all the message header fields and the message data field of a WebSphere MQ message.
The MsgId field in the dynamic MQSeries target definition is a primary key field. Since MsgId is a unique identifier for a particular message, values you project to the MsgId field must be unique. If you project a MsgId value to a queue where that MsgId already exists, WebSphere MQ can ignore the value you pass to the target or use a generated value for the message in its place.
Certain message headers in a WebSphere MQ message require a set of values that the WebSphere MQ server assigns. When you write data to WebSphere MQ, the WebSphere MQ server assigns values to these fields.
The following table describes the message header fields to which WebSphere MQ assigns values when the PowerCenter Integration Service writes data to WebSphere MQ:
Message Header Field
Value
UserIdentifier
Defined by the environment. If the WebSphere MQ server cannot determine this value, the value for the field is null.
AccountingToken
Defined by the environment. If the WebSphere MQ server cannot determine this value, the value for the field is MQACT_NONE.
ApplIdentityData
Value for ApplIdentityData is null.
PutApplType
Defined by the environment.
PutAppName
Defined by the environment. If the WebSphere MQ server cannot determine this value, the value for the field is null.
PutDate
Date when the message arrives in the queue.
PutTime
Time when the message arrives in the queue.
ApplOriginData
Value for ApplOriginData is null.
To write data to the GroupId field in the target, project a value to the MsgFlags field in the target. Otherwise, the PowerCenter Integration Service writes a null value to the GroupId field. For example, you can set a flag to determine the group ID by the last message in the group.
The datatype for the message data field in the MQSeries target definition is Binary. When you use a dynamic MQSeries target definition in a mapping, the PowerCenter Integration Service can only write binary and XML data to the message data field in the target message.

0 COMMENTS

We’d like to hear from you!