Date: Mon, 15 Nov 1999 10:32:01 +0200
Reply-To: dwall@QBLM.QUINTILES.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: dwall@QBLM.QUINTILES.COM
Subject: PROC CATALOG
Content-type: text/plain; charset=us-ascii
Dear SAS-L
I am running SAS 6.12 on Windows NT...
Suppose I have 3 directories, each containing the catalog
SASMACR (containing macros).
Suppose I have a LIBNAME pointing to these three directories.
LIBNAME macros ('directory1', 'directory2', 'directory3');
If I want to dump all these macros into the WORK.SASMACR
catalog on the start-up of SAS, I would have to include a
proc catalog statement in my AUTOEXEC.SAS. Right?
When I run the proc catalog, it only includes the macros in the
FIRST directory's SASMACR. It ignores the macros in the other
two directories. Is there a way to get around this WITHOUT defining
a separate libname for each directory, and running 3 proc catalog
statements.
Another thing, how does SAS handle duplicates. For example, if
two different macros have the same name in two different catalogs,
will the first always be over-written by the second?
Thanks for your help in advance. I look forward to hearing from you.
Dianne