This workshop provides hands-on instructions for managing SAS and Python program development using Git in SAS Viya Workbench and SAS Viya. Participants will learn to implement trunk-based development strategies and execute code using job flows, the SAS Viya Command Line Interface, and Airflow DAGs. The course is designed for intermediate users and covers essential tools like SAS Studio, Visual Studio Code, and Apache Airflow.
Learn How To
Develop and manage SAS and Python programs using SAS Viya Workbench, Visual Studio Code, and SAS Viya environments through trunk-based development practices.Leverage Visual Studio Code as an Integrated Development Environment (IDE) with SAS extensions for efficient coding and integration with SAS Viya.Deploy and execute code in SAS Viya and Apache Airflow, creating job flows and managing DAGs (Directed Acyclic Graphs) for optimized production workflows.Who Should Attend
This course is designed for intermediate-level users who are involved in SAS and Python program development and are looking to enhance their skills in version control and collaborative development using SAS Viya who are looking to incorporate version control with Git into their SAS Viya projects or advanced Git development strategies and tools into their workflow.
Prerequisites
Before taking this course, participants should have;
A basic understanding of version control concepts and experience using Git. Familiarity with SAS programming and Python scripting. Familiarity with Bash for Git command and the SAS Viya CLI. Experience using SAS Viya environments, including SAS Studio and Visual Studio Code. A GitHub account with knowledge of how to create repositories and manage branches. Optional: Basic knowledge of Apache Airflow for job scheduling and orchestration. SAS Products Covered
SAS Viya
Course Outline
SAS Viya Workbench
Start a workbench.Fork a GitHub repository, obtain your GitHub personal access token (PAT) and repository URL. Clone a Git repository, then apply Trunk-Based Development to create a branch, develop code, test, stage, commit, push, and merge branches.Visual Studio Code as an IDE Adjust VS Code settings.Connect to a SAS Viya environment using the SAS extension.Convert SAS Notebooks to SAS Studio flows.Apply basic Trunk-Based Development to managing SAS and Python programs.SAS Viya as a Development EnvironmentCreate a Git profile, clone a Git repository in SAS Viya.Test the code in SAS Viya, make any changes.Apply basic Trunk-Based Development to fix bugs.SAS Viya as a Production EnvironmentExecute the code with SAS Viya.Execute the code with Apache Airflow and the SASStudioOperator.