BookmarkSubscribeRSS Feed
BigZ
Calcite | Level 5
Hi there.
I am attempting to create single Lib from 2 different libs in my autoexec file
Here is what I have:

libname lib1 odbc
DATASRC=server
USER=userID
PASSWORD="&dbpass"
readbuff=1000
schema='dbo'
;

libname lib2 odbc
DATASRC=server
USER=userID
PASSWORD="&dbpass"
readbuff=1000
schema='Floro'
;
libname lib3 (lib1 lib2);

So what I want to do is to only have lib3 in my explorer window. Right now I am getting all 3 libs displayed. But I want only lib3 to be displayed.

Thanks
2 REPLIES 2
Florent
Quartz | Level 8
Hello,

Have you already tried to clear the lib1 and lib2 after having created the lib3 ?

libname lib1 clear;
libname lib2 clear;

Kind regards,
Florent
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Yes - the OP posted a reply in a different FORUM - see link below:

http://support.sas.com/forums/message.jspa?messageID=32511


Scott Barry
SBBWorks, Inc.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1164 views
  • 0 likes
  • 3 in conversation