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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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