Maxim 1: Read the Documentation.
In this case, the documentation for the PROC IMPORT Statement
Your mistake will be obvious.
The position of the ERROR indicator in the log will also provide a clue which part of the statement is wrong.
Proc import datafile = "path\name_file.csv"
out = name_output dbms = dlm replace ;
delimiter = ";" ;
getnames = yes ; /* depend of your data */
guessingrows=500; /* facultative, by default 20*/
run ;
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: