SAS Enterprise Guide

Desktop productivity for business analysts and programmers
BookmarkSubscribeRSS Feed
SteveHolland
Calcite | Level 5

We are trying to convert all of our old schedule report extracts from Access to SAS.  We currently have windows task scheduler open batch files that open specific access db's then run the job and export a file.  I recreated a job in SAS and am set up a schedule for it to run at a certain time, but nothing happens....Is it because we use SAS EG via Citrix and not the installed application?  If that is the case, Is there a way to do it when you get to EG via Citrix?

2 REPLIES 2
SASKiwi
PROC Star

I suspect the reason why it is not working is you must have an active Citrix session going for the scheduling within that session to work.

This is the same as scheduling a job on your PC but then having it switched off when the scheduled job is due to run. I'm not very familiar with Citrix, but there must be a way of scheduling a Citrix session to start and then automatically run a job. I would suggest you talk to your Citrix administrator to find out what you need to do.

Check this out to understand more how EG scheduling works: http://blogs.sas.com/content/sasdummy/?s=scheduling

An alternative would be to export your EG project to SAS code and then schedule this on your SAS server via SAS Management Console.  In my opinion this would be a more reliable solution anyway as any Citrix issues are then removed. We use this approach for all our SAS scheduling and it is very reliable.

jakarman
Barite | Level 11

Agree with SASkiwi, With Citrix you are having an emulated desktop. Emulating the real thing usually adds problems to the real thing. With a real desktop you should by policies not use the Windows scheduler.
Instead use it on the server-side where you SAS processes are run. With the SMC you are connecting to the SAS server and than define those server scheduling jobs. This should be configured at your SAS server-side.

The most advanced one is using LSF (full scheduler load balancing options.)  A more simple one would be using the host scheduler as that can be Windows (you known that one)  or Unix (cron as basic) but needing to have it opened up by your system admins.  System admins can be a blocking factor as being convinced they are the only ones getting access to scheduling.  

---->-- ja karman --<-----

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 2456 views
  • 0 likes
  • 3 in conversation