Make A step in a SAS macro timeout after a set interval -


I am on SAS 9.1.3 (on the server) and looping a macro for a computational intensive feed. The set of modeling steps that are added to a table, I am thinking that it is possible to determine the maximum time for each element of the array. This is because it takes more than 3 minutes to run any element, and the next item is fed from inside.

For example, I'm using proc nlin with a statement to create different models per class on a large data set, and one class has failed to unite; How do I leave that class?

A bit of a niche requirement, hope someone can help!

I can think that the only way to rewrite your code is to re-enter each group from the rest Can be played separately in one or more SAS / Connect sessions. Re-combine timeout and then the live output.

Like Dome and who has said it is not a trivial task, but if you are sufficiently interested in learning about that aspect of SAS, then it is possible. A good place to start this type of thing would be this page:

I was able to use examples and other places as the basis of the general parallel processing structure. (SAS 9.1.3, accidentally!), But there are many details that you have to consider. If you go down this route then you have to provide an idea of ​​the types of adventures in the shops:

  • How to sign on your server via SAS / Connect
  • Explaining to your sysadmin / colleagues why you need to run several processes in parallel
  • Managing asynchronous sessions
  • Macro variables, macros Definitions, formats between libraries and sessions
  • Unclear bug (I was not able to use the general option to synchronize the libraries and I got the call execution ...)

Anyone can write a long (long) seminal paper on this subject, and I am sure that if you look around then there are many of them.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -