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.



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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