Hello, is it possible to create a html with a input field...or perhaps with a checkbox field, where some variables can be checked and these values get associated with a macro or perhaps with into :variable?
I have EG and not many rights...i would like to store the html in C:Test..whatever and not on a server or elsewhere.
Google shows me some results, but there are many with stored processes..i would like to get the thing first done on a very simple way.
So 1. HTML...2. get the Values which are typed in or can be selected with a checkbox.
Creating a HTML page for input, and then run SAS code depending on that input, is the job for SAS stored processes, as you need an interface between the HTML user agent (the browser) and SAS, and that's what the SAStoredProcess webapp (via SAS Web Server and SAS Web Application Server) does.
A .html file on your PC won't have any means to access SAS on the server.
Kurt,
You can access SAS outside of this but the general point is taken. You do not have to go back to SAS through their defined means to get to a SAS executable. You can also use IOM and do it via alternatives like ASP.NET, Node.js, et al.
SAS stored processes is a means of doing it but it is not required. It is just simpler for most SAS users.
Not easily. Why are you wanting this? Is it just to get macro items into your code, then use EG prompts.
http://support.sas.com/resources/papers/proceedings13/028-2013.pdf
If its more complex than that then you need to look at some sort of server backend with stored processes:
http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/index.html
I suspect if your not the admin this isn't what you would be looking at anyways, and that your problem is a lot simpler. Perhaps supply a use case?
I know how to work with prompts, but at this point i dont need them.
The layout for now is very simple.
1. You can input Name,Cars etc. and "Name" "Cars" need to be stored.
or
2. Name and Cars can be checked, in this "case" Name would be stored.
Im not sure how to start on that and if there is another way, but the best way would be a HTML file, so that a user can check it.
That's exactly what user defined prompts do. Don't reinvent the wheel.
If you need something for "simple" users to work semi-automatically with SAS (without EG in the middle), then the stored processes and their web-interface are the way to go.
The "user from elsewhere" is the person that executes the sas program after he/she "put some values in"?
If not: why can't the "user from elsewhere" write the values in an text-file?
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.