Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
IBM InfoSphere Replication Server and Data Event Publisher

You're reading from  IBM InfoSphere Replication Server and Data Event Publisher

Product type Book
Published in Aug 2010
Publisher Packt
ISBN-13 9781849681544
Pages 344 pages
Edition 1st Edition
Languages
Concepts
Authors (2):
Pav Kumar-Chatterjee Pav Kumar-Chatterjee
Profile icon Pav Kumar-Chatterjee
Pav Kumar Chatterjee Pav Kumar Chatterjee
Profile icon Pav Kumar Chatterjee
View More author details

Table of Contents (12) Chapters

IBM InfoSphere Replication Server and Data Event Publisher
Credits
About the Author
About the Reviewer
1. Preface
1. Q Replication Overview 2. Q Replication Components 3. The DB2 Database Layer 4. WebSphere MQ for the DBA 5. The ASNCLP Command Interface 6. Administration Tasks 7. Monitoring and Reporting

Viewing messages using asnqmfmt


We can use the asnqmfmt command to format and view messages that are used in Q replication and Event Publishing.

Note that for Event Publishing, we must run the asnqmfmt command from the directory that contains the mqcap.xsd schema definition file (the default location is SQLLIB/samples/repl/q).

The asnqmfmt command has many parameters (shown next), but the two required as a minimum are the queue name we want to view messages for and the Queue Manager name to which the queue belongs:

  • queue_name: This parameter specifies the name of a WebSphere MQ queue whose messages we want to format, view, and optionally delete.

  • queuemanagername: This parameter specifies the name of the WebSphere MQ Queue Manager where the queue is defined.

  • ofilepath_name: This parameter specifies the name of the file that contains the formatted output. If the -o parameter is not specified, the formatted messages will be written to standard output (stdout). By default, the file is created...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}