I keep having an error trying to import an Excel file as a SAS file using the codes above. What can I do to correct the error? OR, Do you have a different code I can use?
Thank you for the response. It doesn't work the same for SAS Studio following the video. Can a version of SAS help me do the same as in the video?
Below is the code I used.
PROC IMPORT
DATAFILE="path_to_excel_file.xlsx"
OUT=SAS_dataset_name
DBMS=EXCEL REPLACE;
SHEET="worksheet_name";
GETNAMES=YES;
MIXED=YES;
SCANTEXT=YES;
USEDATE=YES;
SCANTIME=YES;
RUN;
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
For SAS newbies, this video is a great way to get started. James Harroun walks through the process using SAS Studio for SAS OnDemand for Academics, but the same steps apply to any analytics project.
Find more tutorials on the SAS Users YouTube channel.