|
Can anyone advise me of how can I solve the following problem? I have a physical file defined via DDS: First PF1: A FIELD0 06A A FIELD1 01A A FIELD2 02A A FIELD3 03A K FIELD0 I have to read data from the file from C-program. I declare it via #pragma mapinc.... and nicely read data using _Rreadk for example. Absolutely no problem - works all the time. The problem is, that this file is created somewhat dynamically by another application, and sometimes it is like this, but sometimes fields are swapped: For example: A FIELD0 06A A FIELD2 02A A FIELD1 01A A FIELD3 03A K FIELD0 As my program needs FIELD1, it never obtains it in the second case until I recompile it.... Is there a way to retrieve FIELD1 always, irrespectably of where it is in the record. The record size is always the same and the fields themselves are always identical. Any advise will be highly appreciated..... Jevgeni Astanovski IT support department manager Sampo pank. Tallinn, Estonia.
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.