BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Paul_de_Barros
Obsidian | Level 7

I have an xlsx file that appears to be output from a SAS process.  It contains one worksheet with a table of data.  The column headers in the table of data are varnum, memname, name, label, type, length, format, and thru_dt.  All of the values in the memname column are the same string. 

 

Question 1: I know that memname means member name, but what is a member?  Is it a library?  A variable?  A dataset?  An observation?  Does it depend on the context?

 

Question 2: This appears to be output from PROC CONTENTS.  Does that sound right?  If so, what does memname mean in this context?

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ
Hi:
Just as your regular city library has mostly books, but it also has newspapers and magazines, a SAS library mostly has datasets which have a member type of DATA. But SAS libraries can also contain catalogs, formats, item stores (such as template stores) and other SAS-specific objects. A SAS library can contain more than just datasets. Because of this a SAS library will identify the member name (memname) and member type (type) in the CONTENTS or PROC DATASETS output.
Cynthia

View solution in original post

3 REPLIES 3
Ksharp
Super User

memname stands for
1) table name
2) view name
3) category name
......

 

 

Member Type
 
CATALOG
DATA
ITEMSTOR
MDDB
VIEW
PaigeMiller
Diamond | Level 26

If it is from PROC CONTENTS, then MEMNAME is the data set name.


The data set is a member of a library.

--
Paige Miller
Cynthia_sas
SAS Super FREQ
Hi:
Just as your regular city library has mostly books, but it also has newspapers and magazines, a SAS library mostly has datasets which have a member type of DATA. But SAS libraries can also contain catalogs, formats, item stores (such as template stores) and other SAS-specific objects. A SAS library can contain more than just datasets. Because of this a SAS library will identify the member name (memname) and member type (type) in the CONTENTS or PROC DATASETS output.
Cynthia

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1423 views
  • 6 likes
  • 4 in conversation