Moving And Accessing SAS 9.1 Files

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 computer, 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 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.

Категории