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

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
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 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

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