08-19-2016 10:45 AM
I want to create a simple web page that uses an AJAX call to get json type data from a SAS program and returns the data to the web page.
I want to run a very simple sas stored process:
proc json out=_webout;
export sashelp.class (where=(age=11)) / nokeys nosastags;
but I got an error when I want to run this stored process, here is my log:
I am very new in sas. I would really be appriciated if someone helps me!
08-22-2016 06:59 PM
_webout is a reserved filename used by stored procedure server to send the data back to web server which in turn sends it to your browser.
I can see you are executing your code on PC SAS. Try creating a stored procedure instead and run that stored procedure in your browser. Let me know here if you need help creating a stored procedure.