Тёмный

SAS Tutorial | How to use Git with SAS 

SAS Users
Подписаться 32 тыс.
Просмотров 11 тыс.
50% 1

GitHub, GitLab, Bitbucket - no matter your flavor of Git, SAS talks to them all. In this SAS How To Tutorial, Chris Hemedinger shows how to “git” your SAS code projects into Git for version control and collaboration. Chris shows how to use Git Bash (the command line) to start and continues to show how it all works with programming interfaces in SAS Enterprise Guide, SAS Studio, and even in the SAS programming language.
Chapters
00:00 - Intro
01:40 - Prepping for Git: command line, VS Code, GitLab
04:30 - Adding your SAS project to Git (command line)
06:50 - Using SAS Enterprise Guide with Git
08:30 - Using SAS Studio with Git
09:19 - Using GIT functions in SAS programming
10:35 - Connecting SAS to your Git accounts
Learn more about SAS Software
◉ Git Handbook (from GitHub) - guides.github.com/introductio...
◉ Using VS Code - code.visualstudio.com/
◉ Mastering Markdown (from GitHub) - guides.github.com/features/ma...
◉ Using .gitignore to skip files - docs.github.com/en/get-starte...
◉ How to organize your SAS projects in Git - blogs.sas.com/content/sasdumm...
◉ How to connect SAS to your Git profile - communities.sas.com/t5/SAS-Co...
◉ Using built-in Git operations in SAS - blogs.sas.com/content/sasdumm...
SUBSCRIBE TO THE SAS USERS RU-vid CHANNEL #SASUsers #LearnSAS
ru-vid.com?sub_...
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 ► www.sas.com/contact
SAS Customer Support ► support.sas.com
SAS Communities ► communities.sas.com
SAS Analytics Explorers ► explorers.sas.com
Facebook ► / sassoftware
Twitter ► / sassoftware
LinkedIn ► / sas
Blogs ► blogs.sas.com
RSS ► www.sas.com/rss

Наука

Опубликовано:

 

30 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
@jamesharroun1568
@jamesharroun1568 2 года назад
Great job Chris! I love to see how SAS truly is open to many of the tools open source developers use.
@anguraj1401
@anguraj1401 2 года назад
Thanks Chris.Thanks for posting.
@chrishemedinger1382
@chrishemedinger1382 2 года назад
Hi All, welcome to my quick tutorial about using Git with SAS. Would love to hear your questions and also stories about how *you* are using Git and SAS together!
@jefrosideo
@jefrosideo 2 года назад
Great intro Chris, thank you
@bierimquartier4358
@bierimquartier4358 2 года назад
Really enjoyed watching!
@SASUsers
@SASUsers 2 года назад
Thanks for the visit!
@dekunleshina1004
@dekunleshina1004 2 года назад
Good one
@SASUsers
@SASUsers 2 года назад
Thanks for the visit!
@pritamvidulkar7036
@pritamvidulkar7036 2 года назад
HI Chris Thank you for sharing the very useful content, i have one query how we can manage version control for SCL codes. Is it possible to use GIT to manage SCL codes.
@chrishemedinger1382
@chrishemedinger1382 2 года назад
Hi Pritam, SCL is usually stored within SAS catalogs, which is part of the built-in file system in SAS. If you maintain your SCL files separately you can manage them in Git, but when they are just entries within a catalog, all Git can see is the actual catalog file (a binary sas7bcat file). Of course you can manage that in Git too, but you won't get the benefit of code history because the binary file won't make it easy to show differences over time.
@pritamvidulkar7036
@pritamvidulkar7036 2 года назад
@@chrishemedinger1382 thank you for the quick response. I understood the issue
@drewhunt3328
@drewhunt3328 2 года назад
Thanks Chris. Are there any resources out there on how to handle EGP files with multiple Process Flows? Is the best method to export code from each Process Flow manually to a folder and then proceed to push those to Git? Thanks!
@SASUsers
@SASUsers 2 года назад
You could use SAS Enterprise Guide automation scripts to export all of the code from a project and then manage this code in files you control under Git. Example scripts are linked from this article: communities.sas.com/t5/SAS-Communities-Library/Doing-More-with-SAS-Enterprise-Guide-Automation/ta-p/417832
@user-vh9ct3zi2h
@user-vh9ct3zi2h 11 месяцев назад
20-year SAS user, 2-year Gitlab user for SQL scripts, first time using Gitlab for SAS enterprise guide. I watched this video hoping to learn how to set up a project for the first time. This video skips over that part completely, and I'm struggling to find other resources. Something tells me I need to save the scripts as individual files rather than embedding them in the epg project?
@SASUsers
@SASUsers 11 месяцев назад
Check out the most recent Ask the Expert video about this topic. You can find a link on the SAS Community: communities.sas.com/t5/Ask-the-Expert/How-do-I-use-Git-with-my-SAS-projects-Q-amp-A-and-webinar/ta-p/557476 [CH]
@mischiefcommittee
@mischiefcommittee Год назад
Is there a way to connect Git or Bitbucket to SAS Servers? For example when pulling, it will pull from the server that scripts are saved on (not local machine or Git Repository), and a push will write to the server? Or somehow through the repository? Thanks!
@SASUsers
@SASUsers Год назад
We are researching this for you.
@mischiefcommittee
@mischiefcommittee Год назад
@@SASUsers Thank you so much!
@chrishemedinger1382
@chrishemedinger1382 Год назад
There are multiple ways to sync your SAS code from your Git repository. Git functions in SAS, or continuous integration tools like Jenkins or Travis CI or GitHub actions -- these can trigger the actions to help you. In this case the Git repo represents the "latest official" code, and these processes can ensure you're always pulling from that. If you have a more detailed question I suggest posting to SAS Communities!
@mischiefcommittee
@mischiefcommittee Год назад
@@chrishemedinger1382 Thank you so much for looking into this! I'm currently using bitbucket, and have not found anything that would sync with SAS servers yet. Thanks again!
@praveenpatil4389
@praveenpatil4389 2 года назад
How to write a code for space Audit script
@praveenpatil4389
@praveenpatil4389 2 года назад
Need to know variable like folder name, file name, file owner name, file last modified, file size
@SASUsers
@SASUsers 2 года назад
@@praveenpatil4389 There is an example in the SAS documentation: go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/mcrolref/n1wyzhuyjmwfsun1iwqnluezhql9.htm
@praveenpatil4389
@praveenpatil4389 2 года назад
@@SASUsers Thanks
@guptas1103
@guptas1103 Год назад
The are too many many many many cuts in this video.. it's just soo distracting.. I got an headache btw watching this video !!!
@chrishemedinger1382
@chrishemedinger1382 Год назад
Alas, creative editing is what it takes to make me look good. If you think this video has too many cuts, I guess you don't watch too many TikTok videos!
@jessicasonbert6967
@jessicasonbert6967 8 месяцев назад
@@chrishemedinger1382 I loved this video - you have a way of bringing a little comedy into learning code and that - my friend - is an art - especially when I'm literally laughing - it's actually funny - know what I mean? When I'm searching RU-vid for something random I need to quick learn to do in SAS and I see you have a video posted that brings a smile to my face ... Thanks for all your videos Chris =)
Далее
Git MERGE vs REBASE: The Definitive Guide
9:39
Просмотров 87 тыс.
OVOZ
01:00
Просмотров 1,1 млн
How to use Git with Visual Studio 2022 (Step by step)
15:11
Git Tutorial for Absolute Beginners
36:21
Просмотров 59 тыс.
Adding Agentic Layers to RAG
19:40
Просмотров 15 тыс.
SAS Tutorial | 3 Steps to Build a SAS Macro Program
14:24