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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.