SlideShare a Scribd company logo
1 of 13
SAS and UNIX: Rerunning your batches
in a smarter way
Frankfurt 2018
Yaroslav Haiovyi, Intego Group, Kharkiv, Ukraine
Page 2
Batch #n
__________________________
Manual
__________________________
“runbatch” file
X "sas ad_asl.sas"
X "sas qc_ad_asl.sas"
X "sas ad_aefga.sas"
X "sas qc_ad_aefga.sas"
...........................
__________________________
makefile
???
Three ways to run batches
Page 3
Excel file
SAS program
new SAS program
(addition to makefile)
Makefile
Step-by-step solution
<tab>command1
<tab>………
<tab>commandN
A target is the name of a file that is generated by a program.
A prerequisite is a file that is used as an input to create the target.
A command is an action that should be run.
target: prerequisite1 … prerequisiteN
t(target) > t(prerequisite1) ?
………………………..
t(target) > t(prerequisiteN) ?
Page 4
Structure of the makefile
Page 5
Libname_ Path_
sdtm_1 /project1/study1/SDTMFOLDER/
sdtm_2 /project2/study2/SDTMFOLDER/
sdtm ./SDTMFOLDER
adam ./ADAMFOLDER
outputs ./outputsfolder
Libname_ : contains the name of libraries that are used in SAS
program.
Path_ : contains the path to the folders where the files are
located. Need to be consistent with UNIX command line.
*.XLS input (Libraries)
Page 6
Libname_ Dataset_
Relations_
Data
Relations_
Prog
Command_1 Command_QC
sdtm DM _empty_ _empty_ _empty_ _empty_
sdtm AE _empty_ _empty_ _empty_ _empty_
sdtm DS _empty_ _empty_ _empty_ _empty_
adam ADSL sdtm.DM ad_adsl.sas sas ad_adsl.sas sas qc_ad_adsl.sas
adam ADAE
sdtm.AE
adam.ADSL
ad_adae.sas sas ad_adae.sas sas qc_ad_adae.sas
*.XLS input (Datasets)
Page 7
Libname_ Output_
Relations_
Data
Relations_
Prog
Command_1 Command_QC
outputs t_ae.out
adam.ASL
adam.ADAE
t_ae.sas sas t_ae.sas sas qc_t_ae.sas
outputs l_demog.out ADAM.adsl l_demog.sas sas l_demog.sas _empty_
*.XLS input (TLGs)
Page 8
RAWs_and_Other
SDTMs
ADaMs
Tables Listings Graphs
Datasets
TLGs
Order of groups
RAWs_and_Other
SDTMs
ADaMs
Tables Listings Graphs
Datasets
TLGs
Page 9
All Groups
Datasets
TLGs
Libname_ Dataset_
Relations_
Data
sdtm DM _empty_
sdtm AE _empty_
adam ADSL sdtm.DM
adam ADAE
sdtm.AE
adam.ADSL
Libname_ Dataset_
Relations_
Data
sdtm DM _empty_
sdtm AE _empty_
adam ADSL DELETED!
adam ADAE
DELETED!
adam.ADSL
Sorting order
Page 10
RAWs_and_Other SDTMs
ADaMsTables
Listings Graphs
System:
Line-by-line creation
RAWs_and_Other SDTMs
ADaMsTables
Listings Graphs
System:
Page 11
In chain order
Data
1
Data
2
Data
3
Data
1
Data
2
Data
1
Not in Chain order
Selective Rerun
Page 12
Rerun adam.ADSL = Rerun everything ???
SAS program
Makefile
Rename
FILE to
OLD_FILE
Create
FILE
Compare
FILE and
OLD_FILE
1. Keep FILE and delete OLD_FILE
OR
2. Delete FILE and rename OLD_FILE
COMMAND is Run
“SAS program”
Yaroslav Haiovyi
yaroslav.haiovyi@intego-group.com
Kharkiv, Ukraine
www.intego-group.com
T H A N K Y O U

More Related Content

Similar to SAS and UNIX: Rerunning your batches in a smarter way

AI Library - An Open Source Machine Learning Framework
AI Library - An Open Source Machine Learning FrameworkAI Library - An Open Source Machine Learning Framework
AI Library - An Open Source Machine Learning FrameworkMLconf
 
Managing ASQ Data: a Guide for Relief Nursery Administrative Assistants
Managing ASQ Data: a Guide for Relief Nursery Administrative AssistantsManaging ASQ Data: a Guide for Relief Nursery Administrative Assistants
Managing ASQ Data: a Guide for Relief Nursery Administrative AssistantsTinasky
 
Work Smarter with Excel
Work Smarter with ExcelWork Smarter with Excel
Work Smarter with ExcelEwaKabza1
 
KNRTU: Math-Bridge localization, installation and testing
KNRTU:  Math-Bridge localization, installation and testingKNRTU:  Math-Bridge localization, installation and testing
KNRTU: Math-Bridge localization, installation and testingmetamath
 
2014.06.24.what is ubix
2014.06.24.what is ubix2014.06.24.what is ubix
2014.06.24.what is ubixJim Cooley
 
德國 Maxqda 12 質性分析軟體 入門及完整參考手冊
德國 Maxqda 12 質性分析軟體 入門及完整參考手冊德國 Maxqda 12 質性分析軟體 入門及完整參考手冊
德國 Maxqda 12 質性分析軟體 入門及完整參考手冊Cheer Chain Enterprise Co., Ltd.
 
Clonewise - Automatically Detecting Package Clones and Inferring Security Vu...
Clonewise  - Automatically Detecting Package Clones and Inferring Security Vu...Clonewise  - Automatically Detecting Package Clones and Inferring Security Vu...
Clonewise - Automatically Detecting Package Clones and Inferring Security Vu...Silvio Cesare
 
Reverse Engineering Malicious Javascript
Reverse Engineering Malicious JavascriptReverse Engineering Malicious Javascript
Reverse Engineering Malicious JavascriptYusuf Motiwala
 
Data handling in r
Data handling in rData handling in r
Data handling in rAbhik Seal
 
Black friday logs - Scaling Elasticsearch
Black friday logs - Scaling ElasticsearchBlack friday logs - Scaling Elasticsearch
Black friday logs - Scaling ElasticsearchSylvain Wallez
 
Osss manual-5-extract data
Osss manual-5-extract dataOsss manual-5-extract data
Osss manual-5-extract datacwarner7_11
 
Splunk 6.2 new features
Splunk 6.2 new featuresSplunk 6.2 new features
Splunk 6.2 new featuresCleverDATA
 
Sheet1DAKOTA OFFICE PRODUCTSWrite in the names of yourActivitycost.docx
Sheet1DAKOTA OFFICE PRODUCTSWrite in the names of yourActivitycost.docxSheet1DAKOTA OFFICE PRODUCTSWrite in the names of yourActivitycost.docx
Sheet1DAKOTA OFFICE PRODUCTSWrite in the names of yourActivitycost.docxlesleyryder69361
 
manifest file on SCORM 1.2
manifest file on SCORM 1.2manifest file on SCORM 1.2
manifest file on SCORM 1.2aureliomld
 

Similar to SAS and UNIX: Rerunning your batches in a smarter way (20)

AI Library - An Open Source Machine Learning Framework
AI Library - An Open Source Machine Learning FrameworkAI Library - An Open Source Machine Learning Framework
AI Library - An Open Source Machine Learning Framework
 
Spss basics tutorial
Spss basics tutorialSpss basics tutorial
Spss basics tutorial
 
Managing ASQ Data: a Guide for Relief Nursery Administrative Assistants
Managing ASQ Data: a Guide for Relief Nursery Administrative AssistantsManaging ASQ Data: a Guide for Relief Nursery Administrative Assistants
Managing ASQ Data: a Guide for Relief Nursery Administrative Assistants
 
spss
spssspss
spss
 
Oopp Lab Work
Oopp Lab WorkOopp Lab Work
Oopp Lab Work
 
Work Smarter with Excel
Work Smarter with ExcelWork Smarter with Excel
Work Smarter with Excel
 
R Machine Learning - handbook
R Machine Learning - handbookR Machine Learning - handbook
R Machine Learning - handbook
 
KNRTU: Math-Bridge localization, installation and testing
KNRTU:  Math-Bridge localization, installation and testingKNRTU:  Math-Bridge localization, installation and testing
KNRTU: Math-Bridge localization, installation and testing
 
2014.06.24.what is ubix
2014.06.24.what is ubix2014.06.24.what is ubix
2014.06.24.what is ubix
 
德國 Maxqda 12 質性分析軟體 入門及完整參考手冊
德國 Maxqda 12 質性分析軟體 入門及完整參考手冊德國 Maxqda 12 質性分析軟體 入門及完整參考手冊
德國 Maxqda 12 質性分析軟體 入門及完整參考手冊
 
R studio
R studio R studio
R studio
 
Clonewise - Automatically Detecting Package Clones and Inferring Security Vu...
Clonewise  - Automatically Detecting Package Clones and Inferring Security Vu...Clonewise  - Automatically Detecting Package Clones and Inferring Security Vu...
Clonewise - Automatically Detecting Package Clones and Inferring Security Vu...
 
B040101007012
B040101007012B040101007012
B040101007012
 
Reverse Engineering Malicious Javascript
Reverse Engineering Malicious JavascriptReverse Engineering Malicious Javascript
Reverse Engineering Malicious Javascript
 
Data handling in r
Data handling in rData handling in r
Data handling in r
 
Black friday logs - Scaling Elasticsearch
Black friday logs - Scaling ElasticsearchBlack friday logs - Scaling Elasticsearch
Black friday logs - Scaling Elasticsearch
 
Osss manual-5-extract data
Osss manual-5-extract dataOsss manual-5-extract data
Osss manual-5-extract data
 
Splunk 6.2 new features
Splunk 6.2 new featuresSplunk 6.2 new features
Splunk 6.2 new features
 
Sheet1DAKOTA OFFICE PRODUCTSWrite in the names of yourActivitycost.docx
Sheet1DAKOTA OFFICE PRODUCTSWrite in the names of yourActivitycost.docxSheet1DAKOTA OFFICE PRODUCTSWrite in the names of yourActivitycost.docx
Sheet1DAKOTA OFFICE PRODUCTSWrite in the names of yourActivitycost.docx
 
manifest file on SCORM 1.2
manifest file on SCORM 1.2manifest file on SCORM 1.2
manifest file on SCORM 1.2
 

Recently uploaded

What is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationWhat is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationmuqadasqasim10
 
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...ThinkInnovation
 
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单aqpto5bt
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxStephen266013
 
原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证pwgnohujw
 
Seven tools of quality control.slideshare
Seven tools of quality control.slideshareSeven tools of quality control.slideshare
Seven tools of quality control.slideshareraiaryan448
 
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证dq9vz1isj
 
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital AgeCredit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital AgeBoston Institute of Analytics
 
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di Ban...
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di  Ban...obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di  Ban...
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di Ban...siskavia95
 
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样jk0tkvfv
 
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...ThinkInnovation
 
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam DunksNOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam Dunksgmuir1066
 
Displacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second DerivativesDisplacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second Derivatives23050636
 
Aggregations - The Elasticsearch "GROUP BY"
Aggregations - The Elasticsearch "GROUP BY"Aggregations - The Elasticsearch "GROUP BY"
Aggregations - The Elasticsearch "GROUP BY"John Sobanski
 
Genuine love spell caster )! ,+27834335081) Ex lover back permanently in At...
Genuine love spell caster )! ,+27834335081)   Ex lover back permanently in At...Genuine love spell caster )! ,+27834335081)   Ex lover back permanently in At...
Genuine love spell caster )! ,+27834335081) Ex lover back permanently in At...BabaJohn3
 
edited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfedited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfgreat91
 
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Valters Lauzums
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token PredictionNABLAS株式会社
 
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证acoha1
 
How to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data AnalyticsHow to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data AnalyticsBrainSell Technologies
 

Recently uploaded (20)

What is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationWhat is Insertion Sort. Its basic information
What is Insertion Sort. Its basic information
 
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
 
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptx
 
原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证
 
Seven tools of quality control.slideshare
Seven tools of quality control.slideshareSeven tools of quality control.slideshare
Seven tools of quality control.slideshare
 
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
 
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital AgeCredit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
 
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di Ban...
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di  Ban...obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di  Ban...
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di Ban...
 
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
 
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
 
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam DunksNOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
 
Displacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second DerivativesDisplacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second Derivatives
 
Aggregations - The Elasticsearch "GROUP BY"
Aggregations - The Elasticsearch "GROUP BY"Aggregations - The Elasticsearch "GROUP BY"
Aggregations - The Elasticsearch "GROUP BY"
 
Genuine love spell caster )! ,+27834335081) Ex lover back permanently in At...
Genuine love spell caster )! ,+27834335081)   Ex lover back permanently in At...Genuine love spell caster )! ,+27834335081)   Ex lover back permanently in At...
Genuine love spell caster )! ,+27834335081) Ex lover back permanently in At...
 
edited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfedited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdf
 
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction
 
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
 
How to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data AnalyticsHow to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data Analytics
 

SAS and UNIX: Rerunning your batches in a smarter way