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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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
  • 3401 views
  • 0 likes
  • 3 in conversation