BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
jjeanveau
Calcite | Level 5

I am the administrator of a single-server deployment of Base SAS. We are currently using Base SAS 9.4 (TS1M2 DBCS3170).

 

Disclaimer: I do absolutely no work in SAS itself. My responsiblity is administering the server where SAS is installed. My interaction with SAS consists of adding users to a group so that they can access the server, and installing the new license files when they are available.I performed the initial installation of SAS myself, with assistance from their support team.

 

My users access SAS through the web console, using SAS Studio Basic. One user has requested the ability to schedule SAS jobs to run at specific times, rather than running the jobs manually.

 

I have done some research into this, and found that there is an option for SAS Management Console, and a "Schedule Manager" plug-in that can be used.

 

Unfortunately, I am unable to find any information on how to actually deploy this in my environment. I have managed to install the Management Console on a system, but when I try to connect to the server, I am told "The client has connected to a SAS Workspace Server (v1.0) when it is intended to connect to a SAS Metadata Server". I have an image of this error attached (see image 'SAS Error.png').

 

Can someone assist and tell me if it is even possible to schedule jobs using Base SAS, and, if so, provide instructions on how I would go about getting that set up?

 

I apologize if this is in the wrong location, and if any additional info is needed, please let me know.

 

Thanks in advance.


SAS Error.PNG
1 ACCEPTED SOLUTION

Accepted Solutions
SASKiwi
PROC Star

SAS Management Console only works with metadata-based SAS servers. I am assuming that you don't have a SAS metadata server running on your physical server - is that correct? What operating system is your server? If it is Windows you can use the Windows scheduler to schedule SAS jobs. If it is Unix you can use cron.

View solution in original post

4 REPLIES 4
SASKiwi
PROC Star

SAS Management Console only works with metadata-based SAS servers. I am assuming that you don't have a SAS metadata server running on your physical server - is that correct? What operating system is your server? If it is Windows you can use the Windows scheduler to schedule SAS jobs. If it is Unix you can use cron.

JuanS_OCS
Amethyst | Level 16

Hello @jjeanveau,

 

in general, I can subscribe to what @SASKiwi already indicated. This link probably can help you: http://blogs.sas.com/content/sgf/2013/08/14/four-ways-to-schedule-sas-tasks/

or this other one, as general information https://communities.sas.com/t5/SAS-Studio/Schedule-SAS-Studio-flows/td-p/305046

 

If you have only SAS Base, and no services, such as SAS Metadata, the SAS Management Console won't be able to help you at all.

 

But, besides the taking the sas code and creating a script (sh or bat) to launch SAS giving the sas file as parameter, and scheduling it in cron, at or Windows Task Scheduler (or your prefered 3rd party scheduled), you might want to share this information with your users:

 

http://support.sas.com/documentation/cdl/en/webeditorug/68828/HTML/default/viewer.htm#n0t5b6xetubfnz...

 

Hope it helps a bit.

 

Best,

Juan

 

 

jjeanveau
Calcite | Level 5

Thanks for the responses.

 

We do not have a SAS Metadata Server running on the physical server. The server is Windows Server 2012 R2.

 

JuanS_OCS, I will pass that information along ot my users to see if that helps them at all.

 

If the only way for us to have them schedule jobs is by using the Windows Task Scheduler, that is likely the way we will have to go.

SASKiwi
PROC Star

You can of course also use third-party schedulers as well. If your company has a preferred scheduler then I would go with that.

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
  • 4 replies
  • 1636 views
  • 1 like
  • 3 in conversation