You have to start at the offset to the header section(s),
read it's length (always 2 bytes) and the header type,
(first is the always-present standard header), then test
that there is more data present (headers are at the END
of the physical record) and if so, read the next header's
length and type, decode it, etc, until you've exhausted
the record length.

Or, you can use MXG Software to do this for you.


Herbert W. Barry Merrill, PhD
President-Programmer
Merrill Consultants
MXG Software
10717 Cromwell Drive
Dallas TX 75229
214 351 1966 tel
214 350 3695 fax
www.mxg.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to