GDEVICE Procedure
COPY Statement
Copies a device entry and places the copy in the
current catalog. The original device entry can be either in the current
catalog or in a different catalog.
Syntax
Required Arguments
- device-entry
-
specifies the one-level
name of the device entry to copy.
Restriction:The entry must exist in the current catalog (the default)
or the catalog specified by FROM= argument.
- where
-
must be one or both
of the following:
- FROM=<libref>.SAS
catalog
-
names the catalog from
which to copy device-entry.
- NEWNAME=new-device-entry
-
specifies a name for
the copy of the device entry that is placed in the current catalog.
New-device-entry must be a
valid name for a SAS catalog entry and cannot already exist in the
current catalog.
If you copy device
entries across catalogs and you do not specify a new name, the GDEVICE
procedure uses the original name for the new device entry.
Copyright © SAS Institute Inc. All rights reserved.