ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQSI need

Post new topic  Reply to topic
 MQSI need « View previous topic :: View next topic » 
Author Message
qrfc
PostPosted: Fri Jun 14, 2002 12:52 am    Post subject: MQSI need Reply with quote

Novice

Joined: 29 May 2002
Posts: 19
Location: Paris, France

Hello,

I have a message which come from an IMS transaction and there is 4 bytes ( first 4 bytes of the message ) that I want to erase. I'm a newbie in MQSI, can someone have an example of a flow to do this ?

I really apreciate some help since I'll catch a training course.

Cyril
Back to top
View user's profile Send private message Send e-mail
hopfe_de
PostPosted: Fri Jun 14, 2002 1:13 am    Post subject: Re: MQSI need Reply with quote

Acolyte

Joined: 03 Mar 2002
Posts: 58
Location: Frankfurt, Germany

qrfc wrote:

I have a message which come from an IMS transaction and there is 4 bytes ( first 4 bytes of the message ) that I want to erase.


first you have do define the input message, and the output message.
then you only need to create a compute node in your message-flow.
there you can copy all needed information from the input to the output message.
Back to top
View user's profile Send private message Send e-mail AIM Address
CodeCraft
PostPosted: Fri Jun 14, 2002 5:13 am    Post subject: Reply with quote

Disciple

Joined: 05 Sep 2001
Posts: 195

If you need a more specific response than this, you'll need to most more detail about the transaction, the layout, and what part you need to get rid of, versus what part you need to keep.
Back to top
View user's profile Send private message
kirani
PostPosted: Fri Jun 14, 2002 9:37 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Cyril,

In your MQInput node read your input message as BLOB. Connect a Compute node to the out terminal of MQInput node. Setup your compute node to copy message headers only. Use following ESQL to get rid of first 4 bytes of the message body.
Code:
SET OutputRoot."BLOB"."BLOB" = SUBSTRING(InputRoot."BLOB"."BLOB" FROM 5);


Now you will get modified output message (first 4 bytes truncated) on the out terminal of compute node. Add further nodes to do your processing on this message.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
CodeCraft
PostPosted: Sun Jun 16, 2002 1:48 pm    Post subject: Reply with quote

Disciple

Joined: 05 Sep 2001
Posts: 195

Another way often used to do this is to simple define a CWF message with a four character throw away field at the start.

Depends on how and when you wish to parse the remainder of the message, but, since it's originating on IMS it's likely a CWF message definition may be required at some point.
Back to top
View user's profile Send private message
qrfc
PostPosted: Sun Jun 16, 2002 10:55 pm    Post subject: Reply with quote

Novice

Joined: 29 May 2002
Posts: 19
Location: Paris, France

Very Very Very thanks.

It works well and it's ok to deploy on our application.

I Understood now a little more of MQSI .

Cyril
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQSI need
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.