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.

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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