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 » Comma Delimmited Msg Set

Post new topic  Reply to topic
 Comma Delimmited Msg Set « View previous topic :: View next topic » 
Author Message
ryzor
PostPosted: Thu Aug 05, 2004 3:51 am    Post subject: Comma Delimmited Msg Set Reply with quote

Apprentice

Joined: 31 Dec 2001
Posts: 42

Hi There,

I'm trying to create a message in v2.1 were it must accept comma delimited data ... but i don't know where to tell the message set that the message will be delimited ... i only 3 tabs on the property's window i.e. ["name of the msg set", Run Time and Description - Tabs ] where do i indicate so that my message can include the "Comma" Tab


Thanx - ryzor.
Back to top
View user's profile Send private message Send e-mail
Ramphart
PostPosted: Thu Aug 05, 2004 4:04 am    Post subject: Reply with quote

Disciple

Joined: 21 Jul 2004
Posts: 150
Location: South Africa, JHB

You need to add a physical format to your message set. In your case a Tagged / Delimited format.

Do the following:
- Right click the message set
- Go to Add
- Go to Physical Format
- Select Tagged/Delimited Format
- Give it a name like TDS

Now you can specify the properties of either the whole message set or (probably better) the compound types TDS properties.

- You would typically create a compound type
- Check it in and out again to get the TDS tab that you've created
- On the TDS tab select the Data Element Separation = All Elements Delimited
- Set the Delimiter = , (comma)

Thats about it.

Read the help manual "Working with Messages", Chapter "Working with Tagged Delimited Messages" also

_________________
Applications Architect
Back to top
View user's profile Send private message
ryzor
PostPosted: Thu Aug 05, 2004 6:30 am    Post subject: Reply with quote

Apprentice

Joined: 31 Dec 2001
Posts: 42

Thanx i did exactly that and it worked ...

But now i'm getting this error:

ERROR: TDSValidator::ValidateTypeMemberSimpleElement:
Elements of a non-Boolean simple type in a type with Data Element Separation attribute = Fixed Length
must have one of the following attributes set:
Element Level - Length
Type Member Level - Length Reference
(Element ID: ADDIMATNR)
(Type ID: E1ADDI1_TYPE)
Return Code: -80

On ALL the fields that are on the type ... what could be the cause of this?

Ryzor -
Developer.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Aug 05, 2004 7:11 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The error you posted tells you EXACTLY what the problem is.

Quote:
Elements of a non-Boolean simple type in a type with Data Element Separation attribute = Fixed Length
must have one of the following attributes set:
Element Level - Length
Type Member Level - Length Reference

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ryzor
PostPosted: Thu Aug 05, 2004 9:35 pm    Post subject: Reply with quote

Apprentice

Joined: 31 Dec 2001
Posts: 42

sorry for behaving like an idiot

but i was not sure where the problem was but ur Highlighting definetely helped .

Thanx - jefflowrey, Ramphart
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 » Comma Delimmited Msg Set
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.