BookmarkSubscribeRSS Feed
Turla
SAS Employee

I'm studying how to write applications for working with CAS using java
And I really don't know how CAS libraries for JAVA work
I read all the info from https://go.documentation.sas.com/?cdcId=pgmcdc&cdcVersion=8.11&docsetId=caspg3java&docsetTarget=titl...
But still don't understand how to work with CAS tables and libraries
Hope for your understanding and HELP

3 REPLIES 3
AnandVyas
Ammonite | Level 13
This should be a good place to start -> https://developer.sas.com/guides/java.html
Turla
SAS Employee

Thank you
can you also tell me where to put properties for host and port

AnandVyas
Ammonite | Level 13

The link that you had shared earlier had reference to a sample program that checks for the server status. In this example you can see the method CASClient with the variables for CAS host and port. This is where you should replace it with your site information.

https://go.documentation.sas.com/?cdcId=pgmcdc&cdcVersion=8.11&docsetId=caspg3java&docsetTarget=p1fs...

public class ServerStatusExample1 {
  public static void main(String[] args) throws Exception {
    try (CASClientInterface client = new CASClient("cloud.example.com
", 5570))

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 3 replies
  • 887 views
  • 0 likes
  • 2 in conversation