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 Repeating Element

Post new topic  Reply to topic
 Tagged Delimited Repeating Element « View previous topic :: View next topic » 
Author Message
msnyder
PostPosted: Fri May 24, 2002 11:09 pm    Post subject: Tagged Delimited Repeating Element Reply with quote

Apprentice

Joined: 24 May 2002
Posts: 32
Location: Jacksonville, FL

I'm working on an X12 prototype to test the tagged delimited support in 2.1. I've defined a message that correctly parses non-repeating elements, e.g.

ISA*1*2*3*4*5*2*7*8*9*10*11*12*13*14*15*16~
GS*1*2*3*4*5*6~
.
.
.
GE*1*2~
IEA*1*2~

but I'm not having any luck when the tags repeat, e.g.

ISA*1*2*3*4*5*1*7*8*9*10*11*12*13*14*15*16~
GS*1*2*3*4*5*1~
.
.
.
GE*1*2~
GS*1*2*3*4*5*1~
.
.
.
GE*1*1~
IEA*2*1~

I've defined an X12_Type as:

Code:

ISA     ISA_Type
GS_Loop GS_Loop_Type
IEA     IEA_Type

GS_Loop_Type is defined as:

Code:

GS      GS_Type
GE      GE_Type


I've defined GS_Loop as repeating and set the minimum and maximum repeat values in the Connection tab.

When I pass in data with 2 GS/GE segments, the parser stops before the 2nd GS* tag.

Does anyone have any suggestions? Thanks.
Back to top
View user's profile Send private message
CodeCraft
PostPosted: Sat May 25, 2002 12:03 am    Post subject: X12 Reply with quote

Disciple

Joined: 05 Sep 2001
Posts: 195

IBM Dublin has an adapter offering for X12. You should contact dubadapt@ie.ibm.com.

There's at least one known issue with TDS repeats which causes the parser to fail when the repeat count is N but the number of items present is <N. You should contact your IBM Support Centre with details of the problem - if it's a TDS bug there may be a fix for it already, if not, turn around time is usually reasonably quick.
Back to top
View user's profile Send private message
msnyder
PostPosted: Sat May 25, 2002 9:58 am    Post subject: Reply with quote

Apprentice

Joined: 24 May 2002
Posts: 32
Location: Jacksonville, FL

At this point, I'm not even worried about the < N or even 1 - N cases. I'd just be happy to get a compound type element to repeat a static number of times via the element's properties. Can anyone point me in the right direction? Thanks in advance.
Back to top
View user's profile Send private message
CodeCraft
PostPosted: Sat May 25, 2002 11:12 pm    Post subject: Reply with quote

Disciple

Joined: 05 Sep 2001
Posts: 195

I'd need to see this on my workbench to see what the problem is. If you'd like you can send me:
- Your message set
- A cut down test flow which has no database or other non-WMQI dependencies
- An actual test message
So that I can see where things are not working. My e-mail addresses is on my web site.
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 Repeating Element
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.