Can someone help with this,
what do you mean by line numbers?
The SAS log show line numbers and the text of the line of code. So in your logs the SAS generate line numbers are the numbers like 71, 72, etc. at the left margin. But the actual code that you submitted also has numbers at the beginning of the lines. Numbers like 1,2,3 with periods after them. Remove that stuff and just have the CODE in the program.
The start of your program should look something like this:
PROC IMPORT OUT=salesByProductByDate DATAFILE=
"/home/emilymoore20/EPG194/output/myTestFolder/BSA570v4_Week3_assignment_data.xlsx"
DBMS=xlsx REPLACE
;
GETNAMES=YES;
run;
DATA salesByProductByDate ;
SET salesByProductByDate ;
etc.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.