Help using Base SAS procedures

SAS profile error on load

Reply
Super Contributor
Posts: 398

SAS profile error on load

I have a pc that has sas 9.3 installed on it.  When I open sas I get the following in the log window:

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.

Has anyone seen this before?

Thank you

Valued Guide
Posts: 2,175

SAS profile error on load

perhaps your profile catalog has an entry that is not valid for SAS9.3

Has SAS9.3 run OK ?

Super User
Posts: 10,500

SAS profile error on load

I think that can happen when you open a second instance of SAS that both use the same configuration. The first one in effect locks the default SASUSER.PROFILE and the second can't read it hence the messages.

The main effect is that any customizations that are stored in SASPROFILE aren't available.

If this isn't from a second instance it could mean that the catalog is corrupted. You could try either renaming or deleting the catalog using a system command out side of SAS. When SAS next starts is should rebuild a default profile from SASHELP. That profile will be factory defaults though.

Super User
Super User
Posts: 6,500

SAS profile error on load

You get a different message when you just have a conflict between multiple instances of SAS running at the same time.

NOTE: Unable to open SASUSER.REGSTRY. WORK.REGSTRY will be opened instead.

Super User
Super User
Posts: 6,500

SAS profile error on load

You need to move your existing profile (or even the whole directory used by the SASUSER libref) out of the way and SAS will create a new valid one.  If you need to recreate any customizations you might be able to copy from the old to the new one using PROC CATALOG.

Super Contributor
Posts: 398

SAS profile error on load

This was a new install on this machine.  I'm just the user of the machine.  I logged off of windows and had a co-worker try and he is able to open sas without this error.  Could it be my rights or priviliages as a windows user that is blocking this profile from loading?

Tom where is the existing profile located?  Do I just delete it and restart SAS?

Valued Guide
Posts: 2,175

SAS profile error on load

Jerry

you might inherit from an earlier SAS release, an override pointing sasuser (and the profile) to an unusual path. By default SAS9.x would point sasuser to a folder like "my documents\my sas files\9.x"

To check the start-up options and report the config files used, see if you can update the command line that invokes SAS and add the option

-verbose

peter         

Super Contributor
Posts: 398

SAS profile error on load

So change the shortcut to include -verbose?

I was thinking it might be a permissions issue. Can I go into the config and point his -SASUSER to a location I know he has permissions too?

Thanks for the help.

Valued Guide
Posts: 2,175

SAS profile error on load

Would be better to change the shortcut

Super Contributor
Posts: 268

SAS profile error on load

Super Contributor
Posts: 398

SAS profile error on load

I'm not sure this is the same issue.  I don't see this line in my error "NOTE: SASHELP.PROFILE has been copied to WORK.PROFILE."

Can a user work with SAS even if this error appears?  What gets disabled?

Thank you

Super User
Posts: 3,106

SAS profile error on load

Nothing gets disabled if you get this error. You only lose your user customisations which include display manager function keys, fonts, windows displayed etc.

You also get this error without the page validation stuff if you run more than one SAS session simultaneously. A workaround for this is the RSASUSER option which makes your SASUSER library readonly.

In my humble opinion this is a fudge, because of the limitations of multi-session access to SAS files, and in particular SAS catalogs.  

Ask a Question
Discussion stats
  • 11 replies
  • 5892 views
  • 1 like
  • 6 in conversation