Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8858847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:55:14+00:00 2026-06-14T14:55:14+00:00

I would like to submit a proc SQL via a webfrontend, where the user

  • 0

I would like to submit a proc SQL via a webfrontend, where the user has the possibility to modify 1 or 2 statements.

I found sascgi via google. but are there alternatives? I could, for example, write everything in a database (with php) and then somehow submit a sas script reading from that database. but that would be one step more then the “direct” way.

Is there another way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:55:16+00:00Added an answer on June 14, 2026 at 2:55 pm

    Yes. The easiest and best way is to license SAS EBI and setup a parameterized stored process. If this is not an option then the next easiest/best way would be to license the SAS/Intranet module.

    There are also other alternatives but they are both a bit of a hack (and probably have security vulnerabilities so if your website is externally facing I would not recommend). They also have the downside of requiring additional effort to setup.

    1. If your webserver is on the same network as your SAS machine you can have the webserver launch the SAS process remotely. Pass in the information you need using the SAS -sysin command line parameter. In a windows environment you can launch a process on a remote machine using psexec which is a download available via the Microsoft site. In UNIX you could use ssh or rsh. If your webserver and your SAS server are the same machine then just use PHP to launch a system process.

      psexec.exe -u DOMAIN\username -p password -w d:\working_folder \\computer_with_sas d:\batchfile.bat "parameters to pass in via SAS -sysin option"

    2. Build a socket server. There’s plenty of articles on this and in theory a PHP app can communicate directly with the socket server. Just google ‘sas socket server’. If you choose this option consider using srvany.exe in Windows to setup your socket server as a service. In *nix you can just launch the program as a background task.

    Let me know more details about which environment you are running and I can expand on this answer if necessary. This should give you plenty to start with though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to display an ajax loader icon when user try to submit
I would like to submit some information collected from user during Inno setup installation
I use MVC and would like to submit a form via jquery, but for
I have a registration form i would like to submit to a SQL 2008
I would like to submit MapReduce jobs from a java web application to a
I would like to know how to submit POST data for a form using
I would like to use Mechanize (with Python) to submit a form, but unfortunately
I would like to have a form that can submit to two different action
I would like to know if it is possible to submit a flash form
I would like to use replace the value of a submit button with Loading…

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.