Your SAS programs, embedded in web apps and elsewhere

How would you edit sas tables from the web in real-time

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 127
Accepted Solution

How would you edit sas tables from the web in real-time

[ Edited ]

Hello,

 

I would like to make a web interface to read & edit SAS tables in real-time.

 

I only know of STP to communicate between a web-page and SAS but it's a one-way communication: you send parameters to a STP and the STP executes and does something.

 

Does someone know a method to

  • display some sas dataset information into a webpage (separate server)
  • send an update from the page to the sas dataset (this I can do with a normal STP but it would be clunky : open a tab, execute and close the tab when finished)
  • update the webpage with the new dataset

?

 

Any idea/input is welcome

 

 


Accepted Solutions
Solution
‎02-29-2016 03:13 AM
Super User
Super User
Posts: 7,955

Re: How would you edit sas tables from the web in real-time

I would imagine your best bet is to speak directly to SAS about a solution for this.  They have various packages where you can get reports, and edit data.  It would probably be easier than building your own solution which would need security, the interfaces, the back end database/store, plus the required licenses.  True the package wil cost, but is it more or less than all that effort yourself?

Also, why not use a database?  Even something free you should be able to link in a database to a web page front end, bit of PHP script.

View solution in original post


All Replies
Regular Contributor
Posts: 172

Re: How would you edit sas tables from the web in real-time

If you know intermediate web development (javascript, css and html) it's not too difficult to create chained stored processes.

 

I would have one stored process that has all the javascript, css and HTML code required to generate the webpage, then I would have a separate stored process that is called by the page to perform the server-side SAS code that updates the dataset with the parameters passed through the URL string.  Done like this you can implement AJAX calls pretty easily to update the page with updated data each time the changes are committed.

Solution
‎02-29-2016 03:13 AM
Super User
Super User
Posts: 7,955

Re: How would you edit sas tables from the web in real-time

I would imagine your best bet is to speak directly to SAS about a solution for this.  They have various packages where you can get reports, and edit data.  It would probably be easier than building your own solution which would need security, the interfaces, the back end database/store, plus the required licenses.  True the package wil cost, but is it more or less than all that effort yourself?

Also, why not use a database?  Even something free you should be able to link in a database to a web page front end, bit of PHP script.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 267 views
  • 2 likes
  • 3 in conversation