Your syntax looks OK for disk files. My suspicion is that the FILENAME allocation is not waiting long enough for the tape to be mounted. Are these disk datasets being recalled from tape backup or are they tape only? If they are tape only then you might need to use some of these options: filename mytape 'prod.data' vol=myvol unit=tape label=(2,SL); If they are originally disk files then recall them from tape first before using your filename.
... View more