BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
NKormanik
Barite | Level 11

Has anyone gotten PROC GAMSELECT to work on a stand-alone PC SAS machine???

Error message:

5    /* Minimal PROC GAMSELECT test */
6    proc gamselect data=sashelp.class;
7        class sex;
8        model weight = spline(height) spline(age) / dist=normal;
9    run;
 
ERROR: The data set SASHELP.CLASS must use a CAS engine libref.
NOTE: The SAS System stopped processing this step because of errors.

 

1 ACCEPTED SOLUTION

Accepted Solutions
5 REPLIES 5
NKormanik
Barite | Level 11

Since PROC GAMSELECT works with V9 datasets in standard SAS 9.4 (per SAS/STAT 13.1+ documentation), the CAS error suggests:

  1. Installation Anomaly: Your SAS/STAT 15.2 might have a patch or corruption making PROC GAMSELECT think it’s in a Viya-like mode.
  2. Procedure Misregistration: The procedure might be incorrectly registered to expect CAS, possibly due to a mixed installation or a failed update.
  3. Undocumented Change: A TS1M7-specific quirk might have altered PROC GAMSELECT’s behavior, though this isn’t reflected in the official SAS 9.4 docs.
SASKiwi
PROC Star

When I search the SAS doc it clearly states GAMSELECT is a Visual Statistics PROC only (available with Viya 3.5 or later) which requires a CAS engine:

SASKiwi_0-1743466148365.png

There is a PROC GAM in SAS/STAT which you could try.

FreelanceReinh
Jade | Level 19

See also PROC GAMPL, which experts prefer to PROC GAM.

NKormanik
Barite | Level 11

Frustrating and confusing that there are certain procedures included in PC SAS 9.4 m7 that do not function in that environment.  Regardless of whether one uses our own data or not.  When one tries them out the error message is received:

 

ERROR: The data set SASHELP.CLASS must use a CAS engine libref.
NOTE: The SAS System stopped processing this step because of errors.
 
Agree that PROC GAMPL looks promising.
 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 2718 views
  • 7 likes
  • 4 in conversation