Need a way to call SAS stored process from a SQL statement. Ex.
CALL Library.StoredProc(Param in, Param in) returning a result set or
CALL Library.StoredProc(Param in, Param in, Param out, Param out)
Here is my use case:
From Pega BPM 7.x I only have ability to talk SQL using SAS JDBC. There is a program in SAS that is needed for my business process.
1. Load data into a SAS dataset (Read documentation, so assumed this will work http://documentation.sas.com/?docsetId=jdbcref&docsetTarget=p1pbz82pw98h7rn14cn3o0dhfo78.htm&docsetV...)
This is done using standard INSERT/UPDATE SQL statements
2. Retrieve data from a SAS dataset (Tested, works as expected)
This is done using standard SELECT SQL statements
3. Once data is loaded in the SAS dataset, I need to tell SAS to invoke a program to compute. (I don't know how to do this without having the ability to issue a CALL statement from within JDBC/SQL).
Please provide some ideas on how to accomplish invoking of a SAS stored process from outside of SAS.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.