BookmarkSubscribeRSS Feed
dr2014
Quartz | Level 8

Hi all,

sas 9.4 was just installed and I am getting this error message after I ran a small program. Could anyone help me understand (please see below)what that means? Thanks in advance!

 

ERROR: Expecting page 1, got page -1 instead.

ERROR: Page validation error while reading SASUSER.PROFILE.CATALOG.

ERROR: Expecting page 1, got page -1 instead.

ERROR: Page validation error while reading SASUSER.PROFILE.CATALOG

 

 

3 REPLIES 3
ballardw
Super User

It usually helps to post program code along with the errors.

 

However you can get messages about SASUSER.Profile if there are two sessions of SAS trying to run at the sametime. Try shutting down SAS and restarting. Look in the log for any messages about the SASUSER.Profile.

dr2014
Quartz | Level 8

This is the error message and notes I get when I first restart sas and also when I first opened it:

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.

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.

 

 

And this was the sas program I tried:

 

libaname a 'path';

 

data test;

 set a.datasetname;

if test='xx';

run;

 

I did get the right dataset 'test'.

 

 

SASKiwi
PROC Star

Try just deleting the catalog file in Windows Explorer, then restart SAS. You can find out the folder where SASUSER is pointing by checking the properties of SASUSER in the SAS Explorer.

SAS Innovate 2025: Call for Content

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!

Submit your idea!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 3663 views
  • 0 likes
  • 3 in conversation