@Reeza
<it's obviously incorrect since you have all the NOTES in your log. So you should fix this.>
It's fixed and re-posted.
<Explain what you're doing step by step>
I have a SAS program w/ a LIBNAME statement, a DATA step and a PROC CONTENTS step in one window. When I run this entire program, it executes succesfully. The log is posted above. However, when I then try to use the resulting data set (SURVEY.CSCSP_2016.DATA) in any other SAS program, I get an error in the Log: ERROR: File SURVEY.CSCSP_2016.DATA does not exist. I get the same error in the PROC CONTENTS step when I run the steps in this program incrementally (i.e. LIBNAME + DATA step, then PROC CONTENTS).
The SAS dataset appears in the SURVEY library when the DATA step is executed, but then disappears when the subsequent SAS program is run (e.g. PROC CONTENTS). And, a new SAS data set is created in the folder on my HD with an incremental number assigned to the data set name (i.e. cscsp_2016 2.sas7bdat, cscsp_2016 3.sas7bdat, cscsp_2016 4.sas7bdat, etc.) for each time the DATA step is re-run.
This syntax ran w/o problem for 2 months. All of the sudden it is choking.
... View more