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

Hello all,

I hope everyone's day is going great. I have a question regarding libraries. I am trying to find a particular field name that provides the data I need within a data set. The issue is I have no idea what data set the information is stored on.  Is there any SAS features or code I can use to find it?  Many thanks.

Sincerely,

Rob

1 ACCEPTED SOLUTION

Accepted Solutions
JerryLeBreton
Pyrite | Level 9

Look in SASHELP.VCOLUMN.

It will show all columns in all data sets in currently assigned libraries.

View solution in original post

3 REPLIES 3
JerryLeBreton
Pyrite | Level 9

Look in SASHELP.VCOLUMN.

It will show all columns in all data sets in currently assigned libraries.

Therob107
Calcite | Level 5

Thanks Jerry and Sandy.  This is exactly what I am looking for!  Have a great day.

sas_9
Obsidian | Level 7

/*write below code for descriptive information - you may wants to define appropriate library before running this step*/

proc contents data=libref.datasetname;

run;

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 2805 views
  • 5 likes
  • 3 in conversation