BookmarkSubscribeRSS Feed
Obsidian | Level 7



We are working on an engagement wherein the client has both SAS EBI as well as SAS VA,  one of the client's prime requirement is they would want their users to run complex analytic analysis such as VAR, PFE, EAR by entering relevant parameter in real time,  post the output obtained by


so the speculation from an performance aspect what is preferable...


1) Build the STP with the HTML, Javascript to surface the UI and all the subsequent UI for other work,  and seperate STP for each type of analysis and surface it via IDP  .... OR


2) Do we build a seperate web portal which will surface the UI and have the integration done via call to SAS web services.



note : we do know most of the processing is done at teh SAS server side, but want to hear the best practice to do so.






Amethyst | Level 16



I don't really think there is a best practice here. In the end, it is just some STPs running the code for the user requests.


But, if you are planning to fill the UI with several javascript code, please keep in mind that IDP includes already several javascript, therefore you minght require to resolve some conflicts. Plus, you will need to adapt js behaviour to each web browser.


In other hand, if you have IDP and VA, I would definetly use Visual Analytics (more likley Visual Statistics since your reports are based on  statistical procedures) for those reports.


Best regards,


Obsidian | Level 7

hi Juan,


Unfortunately VA or VS cannot be utilized here as we need to do computation of VAR / PFE / EAR , which is not supported OOTB by VA,  thus for the same we would need to write an STP , which then would not be managed in the LASR server.


would be obliged to know if there is any alternate to STP wherein i can leverage the LASR server.


thanks in advance.


Lapis Lazuli | Level 10



The way we approach this problem with our customers is a third option:


3) Develop a frontend independently in HTML/JS to surface the UI and all subsequent UI for other work, but deploy it to your SAS Web Server htdocs directory, under LevX/Web/WebServer/htdocs/newFrontEnd. Rather than use the Web Services broker, use AJAX to the SAS Stored Process webapp, use this library to talk to SAS, giving you out-of-the-box single sign-on, enables per-user roles, and a whole bunch of other features.


Like Juan says, there isn't really a best practice here - it depends on what you're trying to achieve. But what you're talking about is extremely similar to the Apps we've been build on top of SAS for our clients for a long time, and we have refined this approach to be extremely efficient and easy to develop with. The library we maintain is free, licensed under the GPL, and if you have decent front-end developers at your disposal I recommend that you forward it to them to get their take on it.


Feel free to drop me a line if you want.



Obsidian | Level 7

Thanks Nik,  Really appreciate the input and the app you pointed too.




Tourmaline | Level 20
IDP is a dead swan which would make it unwise for further investments.
Vaiya beings more openness to VA. Explore the new features there before making any strategic decisions.
Data never sleeps



Time is running out to save with the early bird rate. Register by Friday, March 1 for just $695 - $100 off the standard rate.


Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events. 


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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 4 in conversation