BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
rbettinger
Lapis Lazuli | Level 10

I am running SAS/IML in SAS/Studio hosted by SAS OnDemand for Academics.

I want to do some real-time debugging of a SAS/IML module using the PAUSE and RESUME statements. The SAS/IML documentation indicates that a window will appear that will allow me to enter debugging statements and the RESUME command, which will transfer out of interactive mode back to processing mode.

I do not observe any window opening, so 1) I am missing something essential or 2) my understanding of how PAUSE/RESUME is incorrect or 3) the window into my mind needs a thorough scrubbing so I can see clearly into the process that I am debugging.

Would some kind soul point out the error(s) in my thought processes before I defenestrate myself?

TIA, Ross

 

1 ACCEPTED SOLUTION
3 REPLIES 3
rbettinger
Lapis Lazuli | Level 10

To Patrick and Rick, I say thank you.

I did not understand two things:

  1. I must run SAS/Studio in interactive mode.
  2. I must submit debugging statements into the code window and then submit them for execution.

These requirements were included in the documentation, but I did not put them together properly. Now that I understand how the PAUSE statement works, I will use it appropriately.

Ross

Rick_SAS
SAS Super FREQ

> The SAS/IML documentation indicates that a window will appear that will allow me to enter debugging statements and the RESUME command, which will transfer out of interactive mode back to processing mode.

 

No, I do not think this is a correct statement. The SAS/IML User's Guide documentation of the PAUSE statement does not say anything about a window that will appear. See SAS Help Center: PAUSE Statement and the "Error Control" subsections of SAS Help Center: Generating and Executing Statements

Also, be sure to run in interactive mode, as @Patrick says.

 

Perhaps in the late 2000s or early 2010s you saw a demo of the IML Workshop or SAS IML Studio application. That Window's-based client supported a window that popped up for the PUASE statement, but that application was discontinued a decade ago.

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 3 replies
  • 1995 views
  • 0 likes
  • 3 in conversation