|
>From: "Rajiniganth Manickannan" <rajiniganth.manickannan@wipro.com> >Date: Wed, 26 Dec 2001 19:04:48 +0530 > ... > Whenever I read a file, i should get the values based on the file field p= >ositions (obtained from the DSPOBJD command output) and then compare it. Ho= >w can i do this? Is there a way to get the file field value based on the = >buffer positions? Is there an API for achieving that? >Thanks in advance.. Rajiniganth, if you define an externally-described data structure using your file, then all the fields in your file will be in that data structure at the same positions you determined from DSPOBJD. After a read, you can then substring the data structure using the buffer positions you obtained using DSPOBJD. If you are using a program-described file, then just code a data structure in the result field of your READ operation, and substring that data structure. Barbara Morris
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.