Hello I'm trying to do this portion of the tutorial:
Then I run into a runtime error where the first error message seems to be:
ERROR: File WORK.CORE_SCORE.DATA does not exist.
My Code:
proc sort data=<EMWS3>.score_SCORE out=bestlist;
by descending ep_target_b;
run;
proc print data= bestlist;
var control_number ep_target_b;
run;
The libname does not actually belong in <brackets>. If you have defined EMWS3 in a LIBNAME statement, use data sets within the folder without brackets:
proc sort data=EMWS3.score_SCORE out=bestlist;
SAS documentation uses brackets to indicate something is optional. So if you were dealing with a temporary data set in the WORK library, you could refer to the data set as either WORK.score_SCORE or score_SCORE.
The libname does not actually belong in <brackets>. If you have defined EMWS3 in a LIBNAME statement, use data sets within the folder without brackets:
proc sort data=EMWS3.score_SCORE out=bestlist;
SAS documentation uses brackets to indicate something is optional. So if you were dealing with a temporary data set in the WORK library, you could refer to the data set as either WORK.score_SCORE or score_SCORE.
Thank you Astounding and Cynthia. The initial error message has gone away. Now I'm left with:
ERROR: File EMWS3.SCORE_SCORE.DATA does not exist.
I will go through the Programming 1 and see if that reveals anything that would help me.
Edit:
Reading this revealed that my EM_IMPORT_DATA was not named SCORE_SCORE.DATA
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.