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

Hi

 

I am getting two different messages using PROC IMPORT (attached log). 

 

I have tested both and I get different messages based on if it a csv or xlxs file in the proc import. When I use a csv file I get the following note: 

 

                                       NOTE: Unable to open parameter catalog: SASUSER.PARMS.PARMS.SLIST in update mode.                                            Temporary parameter values will be saved to WORK.PARMS.PARMS.SLIST.
 
If I run the code using xlsx file as the input into the proc import it works ok. 
 
Any ideas?
 
Thanks
1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

The NOTE is issued when a DATA step is created and executed, something that does not happen with spreadsheet files. It is just a consequence of the fact that the SASUSER library is not writable nowadays. You can safely ignore it.

View solution in original post

3 REPLIES 3
Kurt_Bremser
Super User

The NOTE is issued when a DATA step is created and executed, something that does not happen with spreadsheet files. It is just a consequence of the fact that the SASUSER library is not writable nowadays. You can safely ignore it.

Tom
Super User Tom
Super User

It is a design bug in the tool that PROC IMPORT uses to analyze the CSV file and guess how to generate a data step to read it.  For some strange unexplained reason it is attempting to store something into that  SASUSER.PARMS.PARMS.SLIST object even when you are running with the RSASUSER option.  And even more strangely it feels a need to tell you about it  instead of just silently using the WORK library instead.

 

It does not cause any actual problems, just the annoying message.

 

If you want to avoid the message do not use PROC IMPORT to read CSV files.  Either write your own data step to read them.  Or use some other tool to analyze the CSV file and guess how to read it.  https://github.com/sasutils/macros/blob/master/csv2ds.sas

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
  • 3 replies
  • 174 views
  • 2 likes
  • 3 in conversation