O'Reilly logo

SAS Viya by Xiangxiang Meng, Kevin D. Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3: The Fundamentals of Using Python with CAS

Connecting to CAS

Running CAS Actions

Specifying Action Parameters

CAS Action Results

Working with CAS Action Sets

Details

Getting Help

Dealing with Errors

SWAT Options

CAS Session Options

Conclusion

The SAS SWAT package includes an object-oriented interface to CAS as well as utilities to handle results, format data values, and upload data to CAS. We have already covered the installation of SWAT in an earlier chapter, so let’s  jump right into connecting to CAS.

There is a lot of detailed information about parameter structures, error handling, and authentication in this chapter. If you feel like you are getting bogged down, you can always skim over this chapter and come back to it later when ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required