Thanks you all for your suggestions. The 17 limit of the dsname in the tape dataset label is not a problem in this particular case, because all the datasets have names whose lenght is equal or shorter than 17 characters (so the complete name is indeed stored in the tape label).
I will evaluate the possiblities you mentionned. JUAN MAUTALEN ---------------------------------------------------------------------- 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

