On 9 October 2015 at 16:04, John McKown <[email protected]> wrote: >> I tried, and it didn't work. >> It was a dynalloc error. I didn't write down the specifics. I'll take a >> better look next week. >> Gadi >> > > I'm not sure, but you might need TSOAUTH MOUNT authority for dynamic > allocation to work. It depends on what the code does. I think. Maybe.
There is the option to specify a DDNAME. That would probably make sense for tape in a batch environment. But it struck me that what you may be asking for is the ability to copy an entire tape -- labels and all -- to an AWS file. That is, to make a portable image of a whole existing real tape. I don't know if there's a mainframe tool to do that, but there is a standalone tapecopy.exe available with the Hercules project to run on a UNIX-type machine that can copy in either direction between real (reel - heh) and AWS. I used it to copy most of my collection of tapes from the 1970s through early 1990s using a SCSI-attached drive on a Linux PC. A mainframe (i.e. z/OS) tool would be a combination of one of the existing tape mapping programs with the trivial code that creates the AWS file control blocks. Probably someone's done it already. Ah - yes... It's in the /util directory of the Hercules source. Download http://downloads.hercules-390.eu/hercules-3.11.zip and extract tapeconv.jcl . This contains the source code and surrounding JCL to build and execute it. Tony H. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
