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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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