BookmarkSubscribeRSS Feed
Calcite | Level 5

I’m running Proc Varmax on sparse data and I’m receiving an “Invalid Operation, Floating Point Error” message and Proc Varmax.stops midway and my whole bigger program stops.  I’m assuming that since the input Time Series data is so sparse it’s dividing by zero somewhere. 


Here’s the issue.  I notice that when this happens in a Macro, Varmax stops (and stops my bigger program) and when I run it in open code (no macro call) Varmax gives the error but completes and gives no output (in which case my bigger program would continue running).  For my purpose it’s OK for Varmax to produce no output as long as it keeps running and doesn’t stop my whole bigger program.


How do get Varmax to keep running in this situation when it’s in a Macro?


I’m using SAS enterprise guide Version 7.1

Rhodochrosite | Level 12

Perhaps this will help?  There are system options that control what SAS does after encountering an error.



Time is running out to save with the early bird rate. Register by Friday, March 1 for just $695 - $100 off the standard rate.


Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events. 


Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 2 in conversation