team is using:
SAS EG 8.2
Personal Login Manager 9.4
I inherited this code, and it works on the old server.
Our server is updating in the next week, so I'm going through all our queries to make sure they are pointed to the correct new server. (New server is live now, so we can connect. work is still being done in old server until final cutover and then new server will have the most current data.)
This query connects through a libname.
LIBNAME COBSPROD SQLSVR authdomain=SQLSVR database=COBS SCHEMA=DBO;
It's been a while since I've had to set up a libname for sql server.
I can't figure out how/where to check it's connected to the correct server.
You can extract information to validate what's there, like:
proc sql;
connect using COBSPROD;
select * from connection to COBSPROD (select * from sys.sysdatabases);
quit;
Extract the information that will make you confident you are using the correct server.
You can also execute commands such as:
execute by COBSPROD (drop table test_table1) ;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.