Chapter Contents |
Previous |
Next |
Moving and Accessing SAS Files across Operating Environments |
In some instances, a transport file that is transferred to a CMS target host has the correct file format but an incorrect record length. For recovery actions for this problem, see Preventing and Fixing Problems.
FTP |
Here is an FTP example in which the source host puts the transport file on the CMS target host:
ftp > open target-host > binary 80 > quote site recfm=fb blocksize=8000 lrecl=80 > put xportout grades > close > quit
Here is an FTP example in which the CMS target host gets the transport file from the source host:
ftp > open source-host > binary 80 > locsite recfm=fb blocksize=8000 lrecl=80 > get xportout grades > close > quit
Note: In order to transfer a transport file to any directory-based
host such as Windows, OS/2, or UNIX, do not declare file attributes with either
the FTP QUOTE SITE or the FTP LOCSITE command.
Note: You may consolidate FTP commands by using
binary f 80instead of BINARY, QUOTE SITE FIXRECFM 80 or LOCSITE FIXRECFM 80 FTP, which are used in the preceding examples.
Attachmate |
send a:grades xportout lrecl(80) blksize(8000) recfm(f) space(10,10)
Consult your documentation for details.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.