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 Issue

Post new topic  Reply to topic
 Message Set Issue « View previous topic :: View next topic » 
Author Message
ppraveen33
PostPosted: Wed Jun 25, 2014 6:56 am    Post subject: Message Set Issue Reply with quote

Apprentice

Joined: 26 Jun 2013
Posts: 36

1/hdr/1/LTD/ETC
1/dtl/54278/CONSUMER LTD/CTC
1/dtl/67892/CONSUMER LTD/CTC
1/dtl/67392/CONSUMER LTD/CTC
2/hdr/2/VERIZON LTD/ETC
2/dtl/78956/PRODUCER LTD/CTC
2/dtl/34567/PRODUCER LTD/CTC
2/dtl/56783/PRODUCER LTD/CTC
2/dtl/87652/PRODUCER LTD/CTC


My Input data , can any one guide me on this how to construct a message set to parse the message?? how to check hdr and dtl tag in the record??
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Jun 26, 2014 3:23 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Which version of WMB / IIB?
What have you tried? What happened? ( please quote any error messages )
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
ppraveen33
PostPosted: Fri Jun 27, 2014 12:56 am    Post subject: Reply with quote

Apprentice

Joined: 26 Jun 2013
Posts: 36

HI
I am using IIB9(9.0.0.1)
I have parsed this message using DFDL. For hdr and dtl elements I have set the discriminator property and parsed the message, worked fine. But i need to parse this message using message sets. So how to validate hdr and dtl elements in the input data.
Thanks in advance..
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Jun 27, 2014 1:10 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

ppraveen33 wrote:
HI
But i need to parse this message using message sets


Why? If I read your post right then you have it working with DFDL.

Message Sets are the old way of doing it. Yes you can use them but you should be using DFDL these days (says he having just finished updating a CSV message set for an old project)
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
ppraveen33
PostPosted: Fri Jun 27, 2014 5:20 am    Post subject: Reply with quote

Apprentice

Joined: 26 Jun 2013
Posts: 36

HI davies,

My question is do we have any thing in parsing the input message using message sets by constructing message definition?? is there any possibility in achieving this?? I just want to know.. Thanks for ya reply.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jun 27, 2014 5:30 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Yes, you can construct a DFDL schema to model your message.

You can then use this to parse your message at runtime.

It's not a "message set". it's not a "message model". It's DFDL schema.

There's nothing apparently tricky about your message. It should be a straight forward exercise in using the DFDL tooling to create and test a model.

Best of luck!
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Jun 27, 2014 1:42 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Like mqjeff and smdavies99, I am very puzzled. If you have a working DFDL schema then I do not understand why you would want to create a message set. The DFDL domain can replace the MRM domain in your message flow.

So you need to explain, very clearly, what you are trying to do. Remember that words like 'parse' and 'validate' and 'message' mean different things to different readers. Please state your problem using an example input message and expected outputs.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
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 Issue
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.