The COPY Procedure |
The COPY procedure copies one or more SAS files from a SAS library.
Generally, the COPY procedure functions the same as the COPY statement in the DATASETS procedure. The two differences are as follows:
The IN= argument is required with PROC COPY. In the COPY statement, IN= is optional. If IN= is omitted, the default value is the libref of the procedure input library.
PROC DATASETS cannot work with libraries that allow only sequential data access.
Note: The MIGRATE procedure is available specifically for migrating a SAS library from a previous release to the most recent release. For migration, PROC MIGRATE offers benefits that PROC COPY does not. For more information on PROC MIGRATE, see The MIGRATE Procedure .
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.