Created
February 27, 2018 14:33
-
-
Save frayos/7614776041ace9783a7edf9aef70ebdf to your computer and use it in GitHub Desktop.
SAS/Connect to Viya Connect example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* NOT A FULL CODE */ | |
| /* Key Statements only */ | |
| %let myserver=viyahost.connectspawner.com 17551; | |
| SIGNON myserver user=sasdemo password="******"; | |
| rsubmit; | |
| CAS mySession host="viyahost.cascontroller.com" ; | |
| libname mycaslib CAS caslib="CASUSER" host="viyahost.cascontroller.com" port=5570; | |
| proc upload data=sashelp.heart out=mycaslib.heart94; | |
| proc mdsummary data=mycas.heart94 ; | |
| proc download data=myCASlib.heartsum94 out=work.heartsum94 ; | |
| CAS mySession DISCONNECT ; | |
| CAS mySession TERMINATE ; | |
| endrsubmit; | |
| SIGNOFF myserver ; | |
| proc print data=heartsum94 ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment