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

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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