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

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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 743 views
  • 0 likes
  • 2 in conversation