Chapter Contents


The CATALOG Procedure

Procedure Syntax

Tip: Supports RUN-group processing
Tip: Supports the Output Delivery System. See Output Delivery System
Reminder: You can perform similar functions with the SAS Explorer window and with dictionary tables in the SQL procedure. For information on the Explorer window, see the online Help. For information on PROC SQL, see The SQL Procedure .

CONTENTS <OUT=SAS-data-set> <FILE=fileref>;
COPY OUT=<libref.>catalog <options>;
SELECT entry(s) </ ENTRYTYPE=etype>;
EXCLUDE entry(s) </ ENTRYTYPE=etype>;
CHANGE old-name-1=new-name-1
</ ENTRYTYPE=etype>;
EXCHANGE name-1=other-name-1
</ ENTRYTYPE=etype>;
DELETE entry(s)
</ ENTRYTYPE=etype>;
MODIFY entry
</ ENTRYTYPE=etype>;
SAVE entry(s) </ ENTRYTYPE=etype>;

To do this Use this statement
Copy entries from one SAS catalog to another

Copy or move all entries COPY (with MOVE option)

Copy entries to a new catalog (overwriting the catalog if it already exists) COPY (with NEW option)

Copy only selected entries COPY, SELECT

Copy all except the entries specified COPY, EXCLUDE
Delete entries from a SAS catalog

Delete all entries PROC CATALOG (with KILL option)

Delete all entries in catalog opened by another process PROC CATALOG (with FORCE and KILL options)

Delete specified entries DELETE

Delete all except the entries specified SAVE
Alter names and descriptions

Change the names of catalog entries CHANGE

Switch the names of two catalog entries EXCHANGE

Change the description of a catalog entry MODIFY

Print the contents of a catalog CONTENTS

Chapter Contents



Top of Page

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