Mounting a Tape Device Under OpenVMS

In order to move a transport file from disk to tape at the source computer and to move a transport file from tape to disk at the target computer, specify these DCL commands to assign the tape device before starting a SAS session:
Note: Use the INITIALIZE command only if you have a new tape. The INITIALIZE command destroys any files that already might be on the tape.
$ DEFINE TRANFILE tape-name
$ ALLOCATE TRANFILE
$ INITIALIZE TRANFILE DUMMY
$ MOUNT/FOREIGN/BLOCKSIZE=8000 TRANFILE
Note: TRANFILE in the DCL commands is identical to the libref that points to the location of the transport file.