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 » Tagged Delimited

Post new topic  Reply to topic
 Tagged Delimited « View previous topic :: View next topic » 
Author Message
vedbhat
PostPosted: Thu Jan 08, 2004 10:51 pm    Post subject: Tagged Delimited Reply with quote

Disciple

Joined: 19 Mar 2002
Posts: 186
Location: Singapore

Hi,

I am having problem defining the MRM for my output message. Incoming message also uses MRM.

Say, there are 4 elements in the output message. All the fields need to delimited by a semicolon. Out of the 4 fields, except last one all the other elements are fixed length.

Length of last field is obtained from Input message. Last field is also repeating and count of this repeat is also obtained from input message.

I can get all the fields parsed to the output message with delimited. I dont have any problem in repeating. The problem is getting the delimiter for the last field.

The structure defined for the output message.

TYPE: TYP_XXX (All Elements Delimited with Semicolon)
---------------Element: eTYPE_DETAILS (
----------------------------------eFIELD1
----------------------------------eFIELD2
----------------------------------eFIELD3
----------------------------------eFIELD4 (Repeat, 0, 999999, Repeating Elements Delimited with Semicolon) - Length and repeat count obtained from input message.
---------------Element: eFIELD5 (Used as dummy field to generate the delimiter dor the last field

Appreciate if someone can suggest how to get the delimiter for the last field.
_________________
IBM Certified Solutions Expert - MQSeries Workflow
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
kimbert
PostPosted: Fri Jan 09, 2004 2:07 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Your best bet is to define a group terminator (semicolon) for the outermost complex type.
Back to top
View user's profile Send private message
wooda
PostPosted: Thu Jan 15, 2004 4:03 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2003
Posts: 265
Location: UK

What exactly do you mean when you say you having a problem getting the delimeter for the last field ?
Please give an example of what you want the output message to look like and also what you get with you model.
Back to top
View user's profile Send private message
Nyusser
PostPosted: Fri Jan 16, 2004 2:07 am    Post subject: Reply with quote

Apprentice

Joined: 02 Jul 2002
Posts: 48

You could add the delimiter to the last field with ESQL.
Back to top
View user's profile Send private message
wooda
PostPosted: Fri Jan 16, 2004 2:24 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2003
Posts: 265
Location: UK

No you don't need to use ESQL. If all you want to do is ensure you get a delimeter after the last element then kimbert is correct use a group terminator.
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 » Tagged Delimited
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.