![]() Chapter Contents |
![]() Previous |
![]() Next |
| The CATALOG Procedure |
| Restriction: | A COPY statement's effect ends at a RUN statement or at the beginning of a statement other than the SELECT or EXCLUDE statement. |
| Tip: | Use SELECT or EXCLUDE statements, but not both, after the COPY statement to limit which entries are copied. |
| Tip: | You can copy entries from multiple catalogs in a single PROC step, not just the one specified in the PROC CATALOG statement. |
| Tip: | The ENTRYTYPE= option does not require a forward slash (/) in this statement. |
| Featured in: | Copying, Deleting, and Moving Catalog Entries from Multiple Catalogs |
| COPY OUT=<libref.>catalog <options>; |
| To do this | Use this option | |
|---|---|---|
| Restrict processing to one type of entry | ENTRYTYPE= | |
| Copy from a different catalog in the same step | IN= | |
| Move (copy and then delete) a catalog entry | MOVE | |
| Copy entries to a new catalog (overwriting the catalog if it already exists) | NEW | |
| Protect several types of SAS/AF entries from being edited with PROC BUILD | NOEDIT | |
| Not copy source lines from a PROGRAM, FRAME, or SCL entry | NOSOURCE | |
| Required Arguments |
| Options |
| See: | The ENTRYTYPE= Option |
| See also: | Specifying an Entry Type |
| Interaction: | The IN= option overrides a CATALOG= argument that was specified in the PROC CATALOG statement. |
| Featured in: | Copying, Deleting, and Moving Catalog Entries from Multiple Catalogs |
| Interaction: | When MOVE removes all entries from a catalog, the procedure deletes the catalog from the library. |
| CBT | PROGRAM |
| FRAME | SCL |
| HELP | SYSTEM |
| MENU |
| Restriction: | If you specify the NOEDIT option for an entry that is not one of these types, it is ignored. |
| Tip: | When creating SAS/AF applications for other users, use NOEDIT to protect the application by preventing certain catalog entries from being altered. |
| Featured in: | Copying, Deleting, and Moving Catalog Entries from Multiple Catalogs |
| Alias: | NOSRC |
| Restriction: | If you specify this option for an entry other than a PROGRAM, FRAME, or SCL entry, it is ignored. |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.