BookmarkSubscribeRSS Feed
thanikondharish
Calcite | Level 5

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.

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 716 views
  • 1 like
  • 3 in conversation