BookmarkSubscribeRSS Feed
thanikondharish
Fluorite | Level 6

Capture.PNG

i wanted to import one access table like see above program but i got error 

can you explain that how solve that error

2 REPLIES 2
ChrisNZ
Tourmaline | Level 20

Did you search before asking? Did you see this?

ballardw
Super User

Read The Friendly Manual.

 

Or use the import wizard and check the little box that says "save the generated code"

 

From the online help:

PROC IMPORT 
DATAFILE="filename " | TABLE="tablename "

OUT=<libref .>SASdata set  <(SAS data set option(s))>

<DBMS=identifier> <REPLACE>; 

The basic syntax. Note: DATABASE is not an option, DATAFILE is. Also there is no ; in the middle of the statement.

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 2 replies
  • 1050 views
  • 1 like
  • 3 in conversation