>(I did say "the DDNAME is moved in before the open" in >the OP.)
Sorry, I overlooked that. So if there is a chance the code is re-entered for the same data set, would it be ok to use the already opened data set? If so, you could check the DCB-is-open-flag and skip the open if it indicates the dcb is already open. Peter Hunkeler CREDIT SUISSE ---------------------------------------------------------------------- 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

