|
On 19-May-2015 14:30 -0500, Vinay Gavankar wrote:
Also, what is the maximum number of | you are expecting? You could
try reducing the Array size. I think Scan will have to initialize
the remaining elements of array for every record. <<SNIP>>
the number of | may differ with each sub-record within a record.
We have one control record running into multiple records of flat file
i.e.
X,1:01 A|B|C"
X,1:02 D|E|F"
X,1:03 G|H|I
X,2:01 1|2|3|4|5
X,2:02 ......
And i know that this record X:01 should contain 5 field's but have 2
missing and rest all are fine (It could vary for each record)
The output becomes like this
X,1: A|B|C||D|E|E|G|H|I
This whole process is repeated like this...
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.