Chapter Contents

Previous

Next
Moving and Accessing SAS Files across Operating Environments

Mounting a Tape Device on OpenVMS

In order to move a transport file from disk to tape at the source system and to move a transport file from tape to disk at the target system, issue the following 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 may be on the tape.  [cautionend]

$ 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.  [cautionend]


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.