11-14-2017 06:46 AM - last edited on 11-14-2017 06:57 AM by KurtBremser
PROC IMPORT DATAFILE="</folders/myfolders/sasuser.v94/products.xlsx.xlsx>"
/** Print the results. **/
PROC PRINT DATA=WORK.products; RUN;
And run the program then display log window in
11-14-2017 06:59 AM - edited 11-14-2017 07:00 AM
Use more descriptive subjects in the future. Using "sas" in the SAS communities is not descriptive at all.
The failure of the proc print means that the proc import can't have worked. Please post the complete log, following the advice in https://communities.sas.com/t5/help/faqpage/faq-category-id/posting?nobounce for posting code/logs.
I guess that
should have been
11-14-2017 07:41 AM
Well, the error is telling you that there is no dataset in work called products. This is likely because the proc import step has failed for some reason. It is a good idea to post the full log around the item in question, you will likely see error messages after proc import as well. Also please avoid coding ALL IN CAPITALS as it really makes it hard to read.
11-14-2017 08:02 AM
Please check if your file imported successfully or not..
or Try :-
proc print data=products;