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

Hello all,

 

I have a csv file that use ";" as the delimiter. I use the following code to import based on this instruction (https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.5&docsetId=proc&docsetTarget=p0k757c....  

 

proc import datafile="C:\downloads\2002-09.txt"
out=test
dbms=dlm
replace;
dlm=';';
run;

However, SAS mentions the error as following.

103
104  proc import out=test DATAFILE= "C:\Downloads\2002-09.csv"
105  out =test
106  dbms=dlm
107  replace;
NOTE: The previous statement has been deleted.
108  dlm=";";
     ---
     180
ERROR 180-322: Statement is not valid or it is used out of proper order.

109  run;


NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds

How could I address this problem? Many thanks

 

P.s. I attach a screenshot for the dataset.

image.png

1 ACCEPTED SOLUTION
4 REPLIES 4

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!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 826 views
  • 2 likes
  • 4 in conversation