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))

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1249 views
  • 0 likes
  • 2 in conversation