On Mon, 26 Jul 2010 11:02:24 -0500, Etienne Thijsse wrote: > >If I use the C function remove() to remove a member from a PDSE, then from >that moment on, the PDSE is locked, ISPF says "in use", I can't create a new >member in it using fopen() in the same program. The PDSE only gets unlocked >after the program has ended. > The C RTL is a moron. It ought to use ISPF-style serialization rather than doing a blanket RESERVE. (I know; Shmuel will say that wouldn't be safe. Tell that to the ISPF designers.)
And it ought to know the rules are different for PDSEs. If remove() fails to close the data set when it finishes, this ought to be cause for a PMR. But is there another stream that might be holding the data set open? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html