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 » Parsed Record Sequence

Post new topic  Reply to topic
 Parsed Record Sequence « View previous topic :: View next topic » 
Author Message
sandman147
PostPosted: Fri Feb 14, 2014 6:40 am    Post subject: Parsed Record Sequence Reply with quote

Apprentice

Joined: 01 Sep 2013
Posts: 42

I have two Message Definition files (Input1 and Output1) in MRM domain (tds) from imported cobol copy books. Input1 parses the incoming file and Output1 is used to generate outbound file.

The Input data consists of Tagged Delimitted (<CR><LF>) Records that follow a particular order and can repeat multiple times. 170 and 180 may occur 0 times.

000
001
010
140
170
180
900
998
999

The input data can contain thousands of records. Since the file size is unknown I am looking into the 'Record is Delimited Data' which I think reads one record at a time and 'Parsed Record Sequence' option which I understand is expensive and should be treated as Last Resort.

Which option is best? Does Parsed Record Sequence mean I model multiple Msg Sets in a manner that it handles any input data sequence ?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 14, 2014 6:51 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Record Is Delimited Data should be able to handle that
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sandman147
PostPosted: Fri Feb 14, 2014 9:14 am    Post subject: Reply with quote

Apprentice

Joined: 01 Sep 2013
Posts: 42

Cool. I am implementing the same, except after reading record types 010 or 140 nothing is supposed to be written to the output however it is propagating an empty record. How do I overcome the empty lines present in the resulting output file?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 14, 2014 9:27 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sandman147 wrote:
How do I overcome the empty lines present in the resulting output file?


Fix your code. The message set doesn't generate blank records, your code does.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sandman147
PostPosted: Fri Feb 14, 2014 10:18 am    Post subject: Reply with quote

Apprentice

Joined: 01 Sep 2013
Posts: 42

Thanks
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 » Parsed Record Sequence
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.