|
James W. Kilgore wrote: > With all good intentions, I would like to ask what you are trying to get > at instead of telling you how to keep doing what you are most familiar > with. As you stated, it's not available to externally described files, > so let's get to where you want and avoid program described files, if we > can. James, Here's what I am doing, I am reading EDI data like below. ST*265 <--Here is the beginning of data collection. BGN*1111*2222*****123**Pittsburgh*PA for record output. REF*CR*1009999*987 REF*VN*1111****22222000*** ST*197 <--- When I LookAhead and see this next UNRELATED BSR*100000***PA record, I output at this point the previous 4 records field information. Everything in this job is variable, the number of records between the ST*xxx records therefore when I look ahead and see the next start sequence about to come in (I do not want the fields to come into my program and then overwrite my fields being held from the previous ST*xxx record. Gee.. I hope you can understand my wording. Let me know what you think, and thanks. -- '''''''''''''''''''' :-Tim & Dana Truax-: .................... +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MAJORDOMO@midrange.com | and specify 'unsubscribe MIDRANGE-L' in the body of your message. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.