Hi,
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.
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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.