BookmarkSubscribeRSS Feed
TestingSAS
Obsidian | Level 7

Hi,

there are few jobs which are schduled and can be manully run at the commond prompt.

but now my business wants to run those jobs themselves and they are not very familar with command line prompts, so now they are asking to have some GUI with buttons so as they click on the button and in the background job is executed. 🙂

 

so my question here is can i build a java applet which can call these .sh files or can i build a small program in EG which can call these .sh files?

 

thanks in advance.

 

6 REPLIES 6
LinusH
Tourmaline | Level 20

There are some alternatives, but Java applet is not one I came to think of (not saying it can't be done).

I assume that you have a SAS server license since you are mentioning sh-files.

On way is to create SAS Stored Process of them, and have them called via an URL (even from the SAS IDP if you got that).

 

Another option is to have a SAS program executed in EG which could use %include to call the other jobs.

Data never sleeps
SASKiwi
PROC Star

There are a lot better ways to run SAS batch jobs than to do an operating system command via EG. Why not consider using SAS Management Console? It has a friendly user interface for both scheduling and manually running SAS batch jobs.

TestingSAS
Obsidian | Level 7

i am running using the mangement console, but don't want to provide Business user access to MC, thats why i was asking this question

TomKari
Onyx | Level 15

From the EG perspective, I would write an EG custom task, using @ChrisHemedinger 's book and reference material. Not sure about the inter-machine communications needed to run a shell file, but I'm fairly sure it's doable.

 

I suspect if your specialty is Java, it would be much easier for you to write an outboard Java program to do the same; but you lose the integration with EG.

 

Tom

SASKiwi
PROC Star

Recent versions of SAS Studio allow you to submit SAS batch jobs as well.

Patrick
Opal | Level 21

If you've got SAS EBI (the "portal stuff") then you could implement a stored process which allows end users to trigger jobs manually via a Web interface.

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 6 replies
  • 2007 views
  • 0 likes
  • 5 in conversation