BookmarkSubscribeRSS Feed
Jaime
Fluorite | Level 6

Hi,

I am running under Windows 2008 Server.

I have a batch process scheduled on the Windows task scheduler that takes 2 hours to run.

When I run it on a regular sas session though it only takes 45 minutes.

Any ideas why?

2 REPLIES 2
ChrisHemedinger
Community Manager

This question belongs in , or one of the other "Base SAS" forums, I think.

It's difficult to answer your question without seeing the SAS log that results from each scenario.  In batch with no "console", it's possible that there are some operations that take longer (network related, windowing, or other).  The SAS log would reveal the bottleneck, I think.

Chris

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.
LinusH
Tourmaline | Level 20

You need to find out the differences between the two scenarios.

Add a PROC OPTIONS;RUN; to see if there are any difference in configuration settings.

OPTIONS FULLSTIMER; will help you see in more detail differences in resource consumption.

I presume that you run the exact same program, and it runs on the same machine. And in the same time of day?

If it's a multi-user server, you might want to see the overall resource usage (perfmon/task manager).

Data never sleeps

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1600 views
  • 0 likes
  • 3 in conversation