On Tue, 29 Jul 2008 18:20:27 +0200, Itschak Mugzach wrote: > >I don't know an interface, but you can open the PDS as a sequential file and >read the directory until you get ZZ (if I remember correctly). Don't know >what will happen if you'll try to write it back..., but I presume that if it >conforms to the PDS directory format, it will be OK.
Don't try doing this yourself. Use STOW. You might have to write an assembler subroutine to do it. When you add the user data, the directory entry will be larger and the rest of the directory will have to be rewritten. STOW will take care of that for you. BTW, the high key is a PDS is 8 bytes of x'FF'. -- Tom Marchant ---------------------------------------------------------------------- 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

