title: %DROPMISS - SAS
body: <p>I've been reading up on how to DROP variables from my dataset that have null values in every observation - it seems the best way to do this is using the %DROPMISS macro function - however I'm getting an error msg - below is the code I'm trying and the error msg</p>
  
  <p>Code</p>
  
  <pre><code>%DROPMISS (DSIN=dataset1, DSOUT=dataset2); 
  </code></pre>
  
  <p>Log</p>
  
  <pre><code>4665  %DROPMISS (DSIN=dataset1, DSOUT=dataset2);
  
  -
        180
  WARNING: Apparent invocation of macro DROPMISS not resolved.
  ERROR 180-322: Statement is not valid or it is used out of proper order.
  </code></pre>