In this SAS How To Tutorial, SAS’ Darrell Barton teaches you all about the command-line interface (CLI) in SAS Viya, that can be used to automate several administration tasks. The CLI is built on the REST interfaces for SAS Viya, though you don’t need to know how to write those REST API calls to execute.
Darrell shows you how to install the SAS Viya CLI, download and install plugins, and how to configure the CLI to communicate with your SAS Viya environment. He then walks through a few commands you may find useful.
Content Outline
00:00 - Intro
01:33 - How to install the SAS Viya CLI
02:44 – How to download and install the plugins
04:15 – How to configure the CLI to communicate with your SAS Viya environment
07:03 – How to use the Identities plugin to create a group of users
10:55 – How to add folders into the SAS Viya content structure
11:52 – How to use a Python script to stop CAS Sessions
Learn more about SAS Software
◉ REST API Tutorial – https://restfulapi.net/
◉ SAS Viya Command-Line Interface documentation – https://go.documentation.sas.com/doc/en/sasadmincdc/v_013/calcli/titlepage.htm
◉ SAS Administration and Deployment Community – https://communities.sas.com/t5/Administration-and-Deployment/bd-p/sas_admin
◉ Training: SAS Viya Administration - https://support.sas.com/edu/schedules.html?crs=SVFL&ctry=US
◉ Training: SAS Viya Administration: Fast Track (SAS Viya 3.5) – https://support.sas.com/edu/schedules.html?crs=SVFT&ctry=US
◉ SAS Learning Subscription – https://www.sas.com/en_us/training/programs/learning-subscription.html?utm_source=youtube.com&utm_medium=referral&utm_campaign=learn-training&utm_content=v1636bkGp2c
SAS Global Forum Papers
note that sas-viya is used for versions beyond SAS Viya 3.5; sas-admin is used in versions up to SAS Viya 3.5
◉ Making Administration Easier by Scripting the SAS® Viya® – https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4576-2020.pdf
◉ Migrating from SAS® 9.4 to SAS® Viya® 3.5 – https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4457-2020.pdf
◉ Command-Line Administration in SAS® Viya® – https://support.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2018/2233-2018.pdf
SUBSCRIBE TO THE SAS USERS YOUTUBE CHANNEL #SASUsers #LearnSAS
https://www.youtube.com/SASUsers?sub_confirmation=1
ABOUT SAS
SAS is a trusted analytics powerhouse for organizations seeking immediate value from their data. A deep bench of analytics solutions and broad industry knowledge keep our customers coming back and feeling confident. With SAS®, you can discover insights from your data and make sense of it all. Identify what’s working and fix what isn’t. Make more intelligent decisions. And drive relevant change.
CONNECT WITH SAS
SAS ► https://www.sas.com/contact
SAS Customer Support ► https://support.sas.com
SAS Communities ► https://communities.sas.com
SAS Analytics Explorers ► https://explorers.sas.com
Facebook ► https://www.facebook.com/SASsoftware
Twitter ► https://www.twitter.com/SASsoftware
LinkedIn ► https://www.linkedin.com/company/sas
Blogs ► https://blogs.sas.com
RSS ► https://www.sas.com/rss