BookmarkSubscribeRSS Feed
msbrvamsi
Calcite | Level 5

Hi,

 

i am using SAS Desktop version, i can only connect to database using wizard every time. Can some one suggest me how can i save the database table pulled from wizard saved into SAS Dataset.

 

I need this urgently please can someone help me on this.

 

Thanks,

Vamsi

1 REPLY 1
HB
Barite | Level 11 HB
Barite | Level 11

Are you selecting File > Import Data and then working through there using a database as a source?

 

As one of the final steps it will ask if you want to save the code as Proc Import.  Do that and post it here.

 

Should look something like

PROC IMPORT OUT= WORK.name_you_select 
            DATATABLE= "name of the table being imported" 
            DBMS=ACCESS REPLACE;
     DATABASE="J:\Drive D\source path to file\some database.mdb"; 
     SCANMEMO=YES;
     USEDATE=NO;
     SCANTIME=YES;
RUN;

 

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 210 views
  • 0 likes
  • 2 in conversation