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 » Problem parsing Record

Post new topic  Reply to topic
 Problem parsing Record « View previous topic :: View next topic » 
Author Message
djeripo
PostPosted: Fri Apr 23, 2004 4:20 pm    Post subject: Problem parsing Record Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

Hi,
I have a requirement .I get data from external system in cobol copy book format.It has three records in it like A,B and C(which all 3 are compound types).In the header i will get the repeatcount saying how many records are going to come .
The problem is compound type C may or may not come.
my data looks something like this .
ABCABABCABCABAB .
repeatcount in the above case is 6 .
In case if 'C' is not coming parser is treating 'A' as C and processing .
Please share your thoughts .
Back to top
View user's profile Send private message Visit poster's website
Missam
PostPosted: Fri Apr 23, 2004 4:55 pm    Post subject: Reply with quote

Chevalier

Joined: 16 Oct 2003
Posts: 424

There should be an identifier for each of A,B,C.with out such identifier how come you say that particular C record is missing.
if you have group identifier for A B C you can model your requirement in MRM and can model C as Optional
Back to top
View user's profile Send private message
djeripo
PostPosted: Sat Apr 24, 2004 1:50 pm    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

Sam, I defined it in CWF .Do we have GroupIndicators's in CWF ?
Back to top
View user's profile Send private message Visit poster's website
kirani
PostPosted: Sat Apr 24, 2004 5:42 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

You cannot define an element as optionanl in CWF. Try to model your message in TDS format.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

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