![]() Chapter Contents |
![]() Previous |
![]() Next |
| SAS/CONNECT User's Guide |
| Purpose |
| Program |
[1] filename locdir
'/unixhost/sas/programs';
[2] rsubmit;
[3] filename inpds
'mfhost.sas.programs' shr;
[4] proc download infile=inpds('*')
outfile=locdir('*');
[5] endrsubmit;
The first FILENAME statement defines the fileref
LOCDIR, which identifies the physical location for the files that are downloaded
to the local UNIX host. | |
The RSUBMIT statement indicates the following
statement will be processed on the OS/390 host. By not specifying a remote-session-id, this example assumes that the OS/390 machine is
your current remote host. | |
The second FILENAME statement defines the
fileref INPDS for the partitioned data set MFHOST.SAS.PROGRAMS, which contains
the SAS programs that are to be downloaded to the local host. | |
The PROC DOWNLOAD step transfers all the files
in the partitioned data set on the remote OS/390 host to the library on the
local UNIX host. | |
The ENDRSUBMIT statement indicates the end of the block of
statements that are submitted to the remote host for processing. |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.