Posted: Fri Feb 14, 2014 6:40 am Post subject: Parsed Record Sequence
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 ?
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?
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.
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