Getting Started with the SAS System Using SAS/ASSIST Software |
You can use Transfer data on the Remote Connect menu to upload
(transfer from a local to a remote
session) or download (transfer from a remote to a local session) SAS tables, SAS catalogs, external files, or members of a SAS data library, from one SAS session to another. Additionally,
you can download graphics output from a remote session to a local session. To assist you with uploading and downloading data, you can assign librefs and filerefs in the local or remote session, view
the contents of a remote table, or view a remote library listing from within the WorkPlace menu's Remote
Connect item. Make sure you are connected to the remote session before you transfer the data.
In this section, you transfer the HOUSES table from the local
SAS session to a remote table called HOUSES. You also view the contents of the remote HOUSES table and view the contents of the remote SASUSER library.
-
Follow this selection path:
Tasks |
|
Remote |
|
Transfer
data... |
|
Upload |
|
Upload a SAS Table... |
The Upload SAS Table window appears.
Upload SAS Table Window
- Select the
remote session from the list shown at the bottom of the Upload SAS Table window. For this example, OS/390 Connection is selected. If you have
only one remote session, you do not need to perform this step.
- Select Table to upload, and then select the SASUSER.HOUSES table. For
information on selecting tables, see Selecting a Table.
-
Select Remote table. The Specify Remote Table window appears.
Specify Remote Table Window
- In
the Table field, type
HOUSES
as the name of the remote table. Select Permanent. In the field next to Permanent, type
SASUSER
as the permanent remote library in which you want to store the new HOUSES table. By creating a permanent table of SASUSER.HOUSES, you can remotely run the program that you create
and save in the next section.
- Select OK to return to the Upload SAS Table
window.
- Select Run. The HOUSES table is uploaded from the local host to the remote host into a permanent table called
SASUSER.HOUSES. A window appears showing the progress of the upload. When the upload is complete, a message appears indicating that the upload completed
successfully.
Note: If the table being uploaded is small, the window showing the progress of the upload appears only briefly on the
display.
- Select Goback to return to the WorkPlace
Menu.
-
To view the contents of the table you just uploaded on the remote system,
follow this selection path:
Tasks |
|
Remote |
|
Transfer data |
|
Utilities |
|
Remote table
contents... |
The Remote Table Contents window appears.
Remote Table Contents Window
- In
the Table
name field, type
SASUSER.HOUSES
as the name of the table whose contents you want to view.
- Select the remote session that you want to use from the list in the window. For this example,
OS/390 Connection is selected.
- Select OK. The contents of the SASUSER.HOUSES table that is on the remote
host appear in the Output window.
Remote Table Contents Output
Use the
scroll bars or the UP and DOWN function keys, depending on your operating environment, to display the rest of the contents.
Depending on your operating environment, when
you are in the Output window, you may need to continue using the DOWN function key until all of the output is viewed before returning to the SAS/ASSIST window. You do this
to ensure that any procedures running in the Output window are completed.
- To return to the WorkPlace menu, use one of the following
methods, according to your operating environment:
- Use the PREVWIND function key.
- Click on the SAS/ASSIST
window.
-
If you wish to view the
contents of a SAS data library on a remote host, follow this selection path:
Tasks |
|
Remote |
|
Transfer
data... |
|
Utilities |
|
Remote library listing... |
The Remote Library Listing window
appears.
Remote Library Listing Window
- In the Libref
field, type
SASUSER
as the libref of the remote library that you want to list.
- Select the remote session that you want to use from the list in the window. For this example,
OS/390 Connection is selected. If you have only one remote session, you do not need to perform this step.
- Select
OK. The contents of the SASUSER library appear in the Output window.
Remote Library Listing Output
Use
the scroll bars or the UP and DOWN function keys, depending on your operating environment, to display the rest of the contents.
Depending on your operating environment,
when you are in the Output window, you may need to continue using the DOWN function key until all of the output is viewed before you return to the SAS/ASSIST window. You do
this to ensure that any procedures running in the Output window are completed.
- To return to the WorkPlace menu, use one of the
following methods, according to your operating environment:
- Use the PREVWIND function key.
- Click on the SAS/ASSIST
window.
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.