BookmarkSubscribeRSS Feed
rickpaulos
Obsidian | Level 7

Windows 7 - up to date.

SAS 9.4.1

 

I run a simple Proc Print and it can take several minutes to display the output.  I check the log and it reports it took 0.2 seconds.

"running" in the window title bars is not there.

 

Replaced the video card and drivers in the Dell computer.  Other apps seem to work okay.

 

I  watch the app via Task Manger SAS is quite busy reading/writing.

 

What should take a split second is draging out for many minutes.

 

related: in the program window, I'll be typing and the screen locks up.  what I type will get entered but who knows what or where.  Scrolling up and down in output window works some times and not others.  I have to toggle between pgm, log and output windows to get it to "wake up".

 

So why does SAS freeze up and not other apps if the hardware / driver is faulty?

 

 

 

 

6 REPLIES 6
ChrisHemedinger
Community Manager

What ODS destination?  PDF, HTML, RTF, just listing (text)?  And what is the file size of the output?

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
rickpaulos
Obsidian | Level 7

text to the output window.

 

Number of obs doesn't seem to matter.  currenly 11,000.

 

Tried using BY or not.

Tried WIDTH=MINIMUM to reduce lines in the output (by reducing multi-line output).

 

4 million obs works in the same program earlier on.

 

rickpaulos
Obsidian | Level 7

Oh yeah, CTRL-BREAK doesn't do anything because the proc print only took a split second. There is no running procedure to halt.

SAS menus won't respond.  the cursor is an hourglass.  I can click on the different windows to make them active but that's about it.

 

rickpaulos
Obsidian | Level 7

yeah, It took me about 2 minutes to change the output setting back to "listing" after each upgrade.  9.2 to 9.3 to 9.4

ODS takes far too much screen space in its effort to make things look nice.  I don't publish so appearance doesn't matter.

And html is typically so bulky (expecially micro$oft generated html).

 

I routinely use proc print as an additional debuging tool to look at data to make sure my programs do what I want them to do vs SAS doing what I tell it to do.  I don't print such output to paper. Once the program is working okay, I comment out those proc print commands.

 

 

 

 

 

Kurt_Bremser
Super User

When you view a dataset with the viewer, only the necssary obs are fetched from the server for display. When you use any output procedure, the whole output is transferred to EG before it starts displaying and becomes responsive again.

I suggest to either look at datasets directly, or use the obs= dataset option in proc print to reduce the output to a reasonable size.

Reeza
Super User

@ChrisHemedinger question was, Is your OUTPUT window HTML or Listing? 

 

As of 9.2 the default was ODS Listing, which is more of a text file and is super quick. 

As of 9.3 the default is HTML and it's slower and there's more overhead in creating an HTML file. 

 

Try switching back to Listing and see if that helps. I'm not sure what you're going to do with printing 4 million or even 11,000 records but good luck!

 

You change the default output in Preferences. Or you could via code.

 

 

ods listing;
ods html close;

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 6 replies
  • 2245 views
  • 2 likes
  • 4 in conversation