BookmarkSubscribeRSS Feed
texasmfp
Lapis Lazuli | Level 10

Project Goal: build a website wherein clients choose some parameter values from a few drop down menus.  When they hit a Generate Report button on the website on the other side SAS runs a program that takes the parameter values and generates the report (in Excel) which is then either emailed to the client, or made available on the website.

 

Will Base SAS 9.4 be able to do this or do I need some other SAS product or add-on?

Once I get the correct SAS product, how should I start educating myself on how to program the integration?

 

Note that I currently know absolutely nothing about website design, servers, etc...  I do have a a Base SAS 9.4 program that generates the Excel report.

 

Thanks

6 REPLIES 6
andreas_lds
Jade | Level 19

Your description matches the capabilities of a SAS Stored Process, included in the SAS BI Server licence.

texasmfp
Lapis Lazuli | Level 10

Thanks andreas_lds, that was interesting to read about, but I don't think that is the solution.  Let me explain better>

 

I want to build a website.  It will require payment by a customer in exchange for a report.  The customer logs in, pays for a report, and then selects certain parameters such as month and year of the report, a style (from a list of styles), and a unit of measure - let's say kilograms.  On the other side of that customer experience, the parameters the customer selected become global variables  (parms) used in a SAS program.  In addition to passing the parameters to SAS, it also tells SAS to run the program.  The SAS software, the SAS program, as well as the data used by the program exists on some computer (i.e., other than the client's computer/mobile phone or whatever the client is using to log onto my website).  The keep this question simple, the SAS program emails to the report (Excel spreadsheet) to the client as the last step.

 

I hope that clarifies things.

Quentin
Super User

That still fits the design of a stored process, running on a EBI server.  They can also run on Viya environment.

 

An EBI server has a web server and a SAS compute environment.  With a stored process, you get a URL that points to the stored process.  Along with a basic web page for user input (you can of course design your own).  When a user submits the page, it creates macro variables with user inputs, and executes your SAS code (which is the heart of the stored process).  It can then return a graph, or a table to the browser, or it could send an email with an Excel attachment, or whatever.

 

The EBI server will have a login page. But if you want to charge for access etc, you would build that somewhere else, and just like to the stored process URL.

 

The Boston Area SAS Users Group is hosting free webinars!
Next webinar will be in January 2025. Until then, check out our archives: https://www.basug.org/videos. And be sure to subscribe to our our email list.
JosvanderVelden
SAS Super FREQ
Have you seen this YouTube video: https://www.youtube.com/watch?v=ISsgu-F9NG0.
Sajid01
Meteorite | Level 14

Hello @texasmfp 
As has been pointed out by others your SAS stored process on 9.4 can safely do them.
However this  "It will require payment by a customer in exchange for a report." will require something more than that is already built into SAS. I suggest you approach SAS Tech Support

AhmedAl_Attar
Ammonite | Level 13

@texasmfp 

 

On a similar note, checkout Build Apps on Base SAS 

https://www.youtube.com/playlist?list=PLkepSRl0qS449OqZ1rCCVxjokBJuLBXLI

 

Be aware, scalability and ability to handle concurrent requests are not built/provided out of the box, there additional steps and software components needed to enable/offer that.

 

Hope this helps,

Ahmed   

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 833 views
  • 4 likes
  • 6 in conversation