× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



A customer needs us to send them our invoicing data in a format that is non-compliant with programming standards I have used for past 20+ years where all records in a file are the same layout.
Instead, if first field of record is
* Type-A header content then rest of record is type-A layout with like name & address info that's going to be pretty consistent since bill-to never changes, ship-to rarely
* Type-B line content then rest of record is type-B layout with details on what we shipped
* Type-C totals content then rest of record is type-C layout with kind of info we find at foot of any invoice
The resulting file will be like ABBBCABCABBCABBBBBC with any number of B records in each set of 3 kinds

I need a mind-refresher of terminology where to look in DDS+etc. manuals, how to set this up & process it.

I'm thinking maybe multi-format file.
Any program to create / access the file would need to either
* define it 3 times, one per format type, using matching records on invoice # to control input sequencing, in the old RPG cycle,
* or read input as a "flat file" examine first field, then dump rest of each record into A B or C corresponding layout data structure

-
Al Macintyre
Jack of many 400 trades, master of some, but not enough



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.