DATA Step, Macro, Functions and more

Proc Export - Page Validation Error

Reply
New Contributor
Posts: 3

Proc Export - Page Validation Error

[ Edited ]

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.

 

Super User
Posts: 9,560

Re: Proc Export - Page Validation Error

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.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Ask a Question
Discussion stats
  • 1 reply
  • 84 views
  • 0 likes
  • 2 in conversation