Well, the message says it all. You are trying to use a dataset that does not exist. If you are importing the data from somewhere, look at the log of that step.
If you imported that data in another session, you need to repeat that process. WORK is transient and deleted with all its contents when a SAS session closes. To preserve data across sessions, use a library other than WORK.
You specified DATA=WORK.IMPORT on the PROC CORRESP statement. The DATA= option specifies the input data set and so obviously it must already exist. The error message indicates this dataset does not exist. Perhaps you had an error in an earlier step that prevented this dataset being created, thus generating this error?
I also merged your questions into one thread. Please do not double-post, it only makes following the path to the solution harder.
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.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.