BookmarkSubscribeRSS Feed
LB
Quartz | Level 8 LB
Quartz | Level 8

Happy Friday all-

So my question of the day is this-

I am forced to currently run batch jobs on occasion using the windows scheduler on my local PC (as there is no PC SAS server). The problem happens when the network essentially logs me out-which happens at random intervals for network engineers to upgrade and do their routine services.

So the batch will run but can no longer access the network as necessary. Is there a way to embed the windows network login information into  my SAS program to accomplish this task.

Many Thanks!

Lawrence

2 REPLIES 2
Doc_Duke
Rhodochrosite | Level 12

The task scheduler in both XP and Windows 7 Pro include the capability to run a task when the user is logged off.  The syntax is different by it is just a check box about 'run only when user is logged on'.

esjackso
Quartz | Level 8

Another thing that wasnt fully apparent (at least for us) was to use the UNC paths addresses for any libnames on the network instead of mapping drive letters. If you are not logged in the mapping is not used.

Not sure if this is the issue or not but wanted to chime in just in case.

EJ

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

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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