Chapter Contents

Previous

Next
Moving and Accessing SAS Files across Operating Environments

Transferring a Transport File over the Network

Examples of transferring a transport file are provided for FTP and Attachmate Corporation's Extra for Windows communications packages.

In some instances, a transport file that is transferred to an OS/390 target host has the correct file format, but an incorrect record length. For recovery actions for this problem, see Verifying That the Transport File Has Not Been Corrupted.


FTP

Here is an FTP example in which the OS/390 target host gets the transport file from the source host:

> ftp
> open source-host
> binary
> locsite recfm=fb blksize=8000 lrecl=80
> get xportout target
> close
> quit

Here is an FTP example in which the source host puts the transport file on the OS/390 target host:

> ftp
> open target-host
> binary 80
> quote site recfm=fb blksize=8000 lrecl=80
> put xportout target
> 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 by using either the FTP QUOTE SITE or the FTP LOCSITE command.  [cautionend]


Attachmate

If you use Extra for Windows, select translation NONE and verify that the File Transfer dialog box contains this information:

send a:grades xportout lrecl(80) blksize(8000) 
  recfm(f) space(10,10) 
See your documentation for details.


Chapter Contents

Previous

Next

Top of Page

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