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 » Message set Query

Post new topic  Reply to topic
 Message set Query « View previous topic :: View next topic » 
Author Message
prasannanb
PostPosted: Thu May 14, 2015 9:59 pm    Post subject: Message set Query Reply with quote

Apprentice

Joined: 17 Apr 2009
Posts: 35

Hi,

I have a requirement, where in have to create a message set to parse the fixed length incoming message.
In the message, all the fields are fixed length, except the last field which can be of differect length each time.

Ex:
Message1:
f1,msg,1234

Message2:
x1,txt,112323123


Please help how this can be specified in the message set.
I am using WMB 6.1
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri May 15, 2015 4:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

First, you create a message definition that can handle identifying the different fields in your message.

Then you modify this message definition to know how to process each field - make sure it knows where the fields are and what type they are.

Then you modify this message definition to determine what the length of the last field in this particular message is. And configure the last field in the message definition to use that information.

There are topics in the Knowledge Center/ v6.1 documentation that describe each of these steps.

You should not be using v6.1. Your customer/ company should not be using v6.1.

You should either make sure they understand that, or find an alternate job that takes these things more seriously.

Or continue to struggle and expect to encounter problems that simply can't be fixed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Message set Query
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.