Chapter Contents

Previous

Next
Moving and Accessing SAS Files across Operating Environments

Restoring a Transport File on CMS

If the transport file is stored on tape, issue the appropriate CMS command to mount a tape.

To restore a transport file for a data set, issue the following statements:

For tape:

cms filedef xportout tapn nl
    (recfm fb lrecl 80 blksize 8000;
libname xportout xport;

For disk:

libname xportout xport 
  'file-name file-type file-mode';

Note:   For a transport file name, specify a fully-qualified name instead of just a file mode such as B.  [cautionend]

To restore a transport file for a catalog or a data library, issue the following statements:

For tape:

filename xportout tape 'tap1' recfm=fb lrecl=80 
 blksize=8000;

For disk:

filename xportout 'file-name file-type
file-mode';


Chapter Contents

Previous

Next

Top of Page

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