02-26-2018 05:51 AM - edited 02-26-2018 05:51 AM
I'm running a Proc Export and getting an error. The output file is being generated but I need to suppress the ERROR in the log.
PROC EXPORT DATA=Lib.Data DBMS=CSV outfile="OutFile.csv" replace ; RUN;
The code returns th following the error:
ERROR: Expecting page 1, got page -1 instead.
ERROR: Page validation error while reading SASUSER.PROFILE.CATALOG.
NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.
NOTE: All profile changes will be lost at the end of the session.
Thanks in advance.
02-26-2018 06:06 AM
The profile.sas7bcat in your SASUSER directory is damaged. Determine the physical path of your SASUSER, terminate all your SAS sessions, and remove the file from there, using operating system tools.