> >Because you can't append to a member. You can update in place, but I >don't believe that C supports that. >
I have since found out that there is a lot more that members don't support. So what I have now resolved to do is whenever I need to append, or seek, or any of the other unsupported things, I open a memory file, copy the contents of the member into it, do all my appends, seeks etc. on the memory file, and then, when all is finished, I remove the existing member and write the contents of the memory file to the member. This way, although I have a performance penalty because of the remove & recreate overhead, but it works. At least for PDSE's; for PDS's I'll need to add some sort of automatic compression, if recreation of the member after the remove fails. Thanks, Etienne ---------------------------------------------------------------------- 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

