BookmarkSubscribeRSS Feed
GN0001
Barite | Level 11

Hello all,

 

I imported a dataset into SAS with SAS import wizard, I created a libname for that table.

 

The name of the table was BBB_2020 in my local. But SAS gave _0000 to the end of the table name when I wanted to use the table name. 

 

Even I can see the data set name is: BBB_2020; SAS doesn't allow me to use the data set by that name. I saw somewhere in SAS in code window, the name of table is: BBB_2020_0000. I used dataset by that name.

 

What is the reason that SAS has added _0000 as suffix?

 

Respectfully,

 

Blue Blue

Blue Blue
3 REPLIES 3
SASKiwi
PROC Star

I've seen this type of behaviour when the dataset you are trying to import to already exists. The suffix is added to avoid overwriting the original dataset. Are you writing this dataset to a permanent SAS library? If so that could explain what is going on. As a test, close EG, reopen it and import to the SAS WORK library just once. The name of the imported dataset should be as you have specified.

 

GN0001
Barite | Level 11

Thanks for the response.

I am writing to SAS permanent library.
I have opened it at least so many times and closed it.
Regards,
Blue Blue

Blue Blue

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 493 views
  • 1 like
  • 3 in conversation