title: How do you programmatically get the size/weight (MB) of a dataset in SAS
body: <p>I could navigate to the library path in the file explorer and search for my dataset.sas7bdat file and look at it's size.<br>
  But that's not practical. I'm not even sure where the WORK library is located and even if I did it's on a remote server making it complicated to access.</p>
  
  <p>Is it possible to print the size/weight of a dataset in the log or a report?</p>
  
  <blockquote>
    <p>using SAS EG 7.1 and SAS 9.3</p>
  </blockquote>
  
  <p>Motive : I want to do that because I will try to reduce a dataset size and I would like to know how much I gained.</p>