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

Hii kurt,

 

If you want full Proc contents output.

NiravC_0-1617967262055.png

 

PaigeMiller
Diamond | Level 26

So you show us part of PROC CONTENTS, but not all of it. How do we know this is the same data set LCS_I that you were using in your code? Show us ALL of PROC CONTENTS so we can see what data set the results are for.

 

Also, as I said, if you run your original code TWICE, you will get that error even if the variable was present originally. Are you running that code twice?????

--
Paige Miller
ballardw
Super User

@NiravC wrote:

Hii Kurt,

 

Thanks for answering, But I tried this thing :

Data LCS_i_new;
set LCS_i;

It's not working.

And I run  the Proc Contents, Both the variable available with same name which is available in my early post.

 

Thnks


"Not working" is awful vague.

Are there errors in the log?: Post the code and log in a code box opened with the "<>" to maintain formatting of error messages.

No output? Post any log in a code box.

Unexpected output? Provide input data in the form of data step code pasted into a code box, the actual results and the expected results. Instructions here: https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat... will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the "<>" icon or attached as text to show exactly what you have and that we can test code against.

 

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 17 replies
  • 7009 views
  • 10 likes
  • 4 in conversation