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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 6 replies
  • 3423 views
  • 0 likes
  • 5 in conversation