BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Shivi82
Quartz | Level 8

proc import data = "F:\dell blue\Data Backup 05-02-2014\Downloads\SAS Study Material\9.2.csv"

out = CC_data

dbms =csv

replace;

getname = yes;

run;

error message :

proc import data = "F:\dell blue\Data Backup 05-02-2014\Downloads\SAS Study Material\9.2.csv"

                 ----

                 22

                 76

ERROR 22-322: Syntax error, expecting one of the following: ;, DATAFILE, DATATABLE, DBMS, DEBUG,

              FILE, OUT, REPLACE, TABLE, _DEBUG_.

ERROR 76-322: Syntax error, statement will be ignored.

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

datafile="F:\dell blue\Data Backup 05-02-2014\Downloads\SAS Study Material\9.2.csv"

instead of data=

View solution in original post

2 REPLIES 2
ballardw
Super User

datafile="F:\dell blue\Data Backup 05-02-2014\Downloads\SAS Study Material\9.2.csv"

instead of data=

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

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 4456 views
  • 0 likes
  • 2 in conversation