Jeff,

I believe that you have to check the hex format of the data when it's
defined as BLOB.  For example you would check for X'3132333435363738' for
'12345678'.

Karen

-----Original Message-----
From: Jeff A Tressler [mailto:jtressle@;CSC.COM]
Sent: Wednesday, October 23, 2002 2:13 PM
To: [EMAIL PROTECTED]
Subject: MQSeries Integrator 2.0.1 and Different Message Lengths


I am receiving messages of different length and based on the first
eight (8) characters, I can determine the routing. I cannot seem to
figure out how to read in the messages without having a specific
well-defined format.

I tried setting the message up to be read as a BLOB but then cannot
figure out how to access the data. I would like to do a simple:

     SUBSTRING ("BODY" FROM 1 FOR 8) = "SUSTHIST"

in a filter node to check for a particular message and send to a
destination queue. The "BODY" evaluates to NULL when I do a
trace so the substring fails and send the message out the
UNKNOWN exit.

Any ideas? Long run it would help to implement a different format
for each message and use RFH2 headers but that is not an
option at this time.

          Jeff Tressler

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all copies.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to