Chapter Contents

Previous

Next
SAS Catalog: _copyMember

SAS Catalog: _copyMember



Copies a catalog entry contained by a SAS Catalog object to another entry in the same SAS Catalog object


Syntax
Example
See Also

Syntax

CALL SEND (catalog-object-id, '_copyMember', source-member-name, target-member-name<, new-object-id>);

Argument Type Description
target-member-name
C specifies the one-level name (entryname) of the catalog entry to which the source is to be copied
new-object-id
N returns the object identifier for the new SAS Catalog Entry object that is associated with target-member-name


Example

This example copies SASUSER.CAT1.MYENTRY.PROGRAM to SASUSER.CAT1.OTHER.PROGRAM:

catclass=loadclass('sashelp.fsp.catalog.
                    class');
catobj=instance(catclass);
call send (catobj, '_setup_', 'sasuser.cat1');
call send (catobj, '_copy_member_',
          'myentry.program', 'other');

See Also

_copy


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.