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

Hello,

I have around fifty files into a subfolder and the should have let's say fifteen variables but no observations

 

I am using the following unix command but I don't get any listing of the empty file.

Does someone knows what's wrong with that command?

 

find /.../data/bkp -size 0 -type f -name "*.*"

 

1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

An empty dataset file will still have a header and therefore the first dataset page (usually 128K nowadays).

You need to get the observations from DICTIONARY.TABLES for that library that have NOBS = 0.

View solution in original post

1 REPLY 1
Kurt_Bremser
Super User

An empty dataset file will still have a header and therefore the first dataset page (usually 128K nowadays).

You need to get the observations from DICTIONARY.TABLES for that library that have NOBS = 0.

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

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
  • 1 reply
  • 605 views
  • 1 like
  • 2 in conversation