BookmarkSubscribeRSS Feed
Andygray
Quartz | Level 8

My understanding is Dictionary.tables and sashelp.vtable are the same. Am i right? If yes, I am using sashelp.vtable to retrieve certain information about the metadata. However, I am confused having seen two kinds of variables in the sashelp.vtable dataset. One has a name "Number of logical Observations" and the other with the name "Number of Physical Observations".

1. What is the difference between the two?

2. Which one is actually denotes the count of observations?

1 REPLY 1
ballardw
Super User

If you look at the additional variable "Number of Deleted Observations" where logical and physical vary I think you'll get a better understanding of what is going on.

I believer you are likely looking for Logical for further processing.

Since are there are two types of counts then the count desired depends on what your are doing.

Unless you are doing manual operations on your data, such as delete row in Viewtable, you'll likely have both values the same.

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

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 849 views
  • 0 likes
  • 2 in conversation