Your SAS programs, embedded in web apps and elsewhere

SAS 9.2 Foundation Services Java API

Reply
N/A
Posts: 0

SAS 9.2 Foundation Services Java API

Hi all!
I have SAS 9.2 installed.
I try to execute SAS Stored Process from Java application.
I use this example http://support.sas.com/kb/26/054.html
But i can't find SAS Foundation Services jar files in SASFoundationServices\9.2 folder or anywhere else.
Where i can find it?
Super Contributor
Super Contributor
Posts: 3,174

Re: SAS 9.2 Foundation Services Java API

Posted in reply to deleted_user
Use PROC JAVAINFO; to determine the current JAVA configuration for SAS.

Scott Barry
SBBWorks, Inc.
N/A
Posts: 0

Re: SAS 9.2 Foundation Services Java API

I have following JAVAINFO proc output:
PFS_TEMPLATE = D:\SAS\SASFoundation\9.2\core\sasmisc\qrpfstpt.xml
java.class.path = D:\SAS\SASVER~1\9.2\eclipse\plugins\SASLAU~1.JAR
java.class.version = 50.0
java.runtime.name = Java(TM) SE Runtime Environment
java.runtime.version = 1.6.0_15-b03
java.security.auth.login.config = D:\SAS\SASFoundation\9.2\core\sasmisc\sas.login.config
java.security.policy = D:\SAS\SASFoundation\9.2\core\sasmisc\sas.policy
java.specification.version = 1.6
java.system.class.loader = com.sas.app.AppClassLoader
java.vendor = Sun Microsystems Inc.
java.version = 1.6.0_15
java.vm.name = Java HotSpot(TM) Client VM
java.vm.specification.version = 1.0
java.vm.version = 14.1-b02
sas.app.class.path = D:\SAS\SASVER~1\9.2\eclipse\plugins\tkjava.jar
sas.ext.config = D:\SAS\SASFoundation\9.2\core\sasmisc\sas.java.ext.config
sas.jre.libjvm = C:\Java\JRE16~1.0_1\bin\client\jvm.dll
tkj.app.launch.config = D:\SAS\SASFoundation\9.2\picklist
user.country = RU
user.language = ru

How can it help to find Foundation Services Java API jars?

Also i found some SAS Foundation Services Java API jar files in sas.storedprocess9.2.ear archive.
But is it correct way to manually extract needed jar files from EAR? Message was edited by: tyatya
Super Contributor
Super Contributor
Posts: 3,174

Re: SAS 9.2 Foundation Services Java API

Posted in reply to deleted_user
You may want to check with your SAS system administrator. Also, here is a Google advanced search argument against the SAS support http://support.sas.com/ website which may yield useful technical reference documents for your use:

api SAS Foundation Services jar files site:sas.com


Scott Barry
SBBWorks, Inc.
SAS Super FREQ
Posts: 304

Re: SAS 9.2 Foundation Services Java API

Posted in reply to deleted_user
The KB article you quote is only applicable to SAS 9.1.3 (check the "About" tab)

This thread my prove helpful:

http://support.sas.com/forums/thread.jspa?threadID=7122

I generally suggest using the SAS Stored Process Web Application where applicable.

Vince DelGobbo
SAS R&D
Ask a Question
Discussion stats
  • 4 replies
  • 351 views
  • 0 likes
  • 3 in conversation