Your SAS data sets contain a lot of information that is system-specific. Thus, unlike your SAS command files or plain text files, they cannot be moved to another machine running SAS as they are. To move your data, you must first create a transport file. That file can be moved, and the other computer can recreate your data sets.
Create a transport file:
The easiest way to move your files is to put all the data sets and catalogs from one library into the same transport file.
LIBNAME libref 'directory path';
PROC CPORT LIBRARY=libref FILE='output file';
RUN;If you only want to move one data set, you can change the procedure:
LIBNAME libref 'directory path';
PROC CPORT DATA=libref.dataset FILE='output file';
RUN;Move the transport file:
To move the portable file, use your preferred FTP client. A popular choice is WS_FTP if you are moving between your PC and another computer.
The portable file must be transferred in binary mode.
Recreate your data:
On the new system, use the following to recreate your data:
LIBNAME libref 'directorypath';
PROC CIMPORT LIBRARY=libref INFILE='path_and_filename';
RUN;Libref and directorypath refer to the destination library (on the new system), while path_and_filename refers to the full path and filename of your transport file.