BookmarkSubscribeRSS Feed
Tushh
Calcite | Level 5

Hi,

 

please help me to understande below piece of code.

 

1. proc datasets lib = out nolist;

delete &PgmPrefix._Table1_new;

delete &PgmPrefix._Table2_new;

Run;

 

2.create table &PassThroughTableName. AS

select * from CONNECTION to SQLServerDatabase

 

 

Thank You

 

3 REPLIES 3
Kurt_Bremser
Super User

The first segment deletes datasets from library "out". The macro variable "pgmprefix" holds the prefix for the dataset names.

The second is obviously part of a proc sql; it creates a SAS table from a connection to an external RDBMS (the necessary specifics for the remote table are missing).

Tushh
Calcite | Level 5
Thanks for quick reply its helpful..!!!
LinusH
Tourmaline | Level 20
#sasonlinedoc
Data never sleeps

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
SAS Enterprise Guide vs. SAS Studio

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 876 views
  • 0 likes
  • 3 in conversation