Checkpoint Restart Demo (Using Steps)

Slides:



Advertisements
Similar presentations
Find It Using SAS By David Steves. Would you like to be able to search SAS programs for certain expressions? Example: I have a list of SAS programs which.
Advertisements

AMERICAN ASTRONOMICAL SOCIETY Continuous Probability Distribution as an Alternative to Binning of Survey Data JANUARY 6, 2010 David J. Corliss.
When “ANYDATE” Doesn’t Mean Any Date: A Macro Solution Charlotte King, Alberta Health Services John Fleming, Alberta Health Services SAS Global Forum Paper.
Axio Research E-Compare A Tool for Data Review Bill Coar.
Path Analysis SAS/Calis. Read in the Data options formdlim='-' nodate pagno=min; TITLE 'Path Analysis, Ingram Data' ; data Ingram(type=corr); INPUT _TYPE_.
HORIZONT 1 ProcMan ® The Handover Process Manager Product Presentation HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89.
Today: Run SAS programs on Saturn (UNIX tutorial) Runs SAS programs on the PC.
Descriptive Statistics In SAS Exploring Your Data.
1 ATC AVC MC Relationship Between Average and Marginal Costs Costs per unit Quantity Q1Q1 B Q0Q0 A.
Instructions for Enabling PowerPoint to Use Drag and Drop Macro 1.Open PowerPoint 2.Click Tools 3.Click Options 4.Click Security 5.Click Macro Security.
Basic And Advanced SAS Programming
Introduction to SAS Lecture 2 Brian Healy.
An Animated Guide©: Sending SAS files to Excel Concentrating on a D.D.E. Macro.
Examples for the midterm. data = {4,3,6,3,9,6,3,2,6,9} Example 1 Mode = Median = Mean = Standard deviation = Variance = Z scores =
SAS Macro: Some Tips for Debugging Stat St. Paul’s Hospital April 2, 2007.
Batch processing and sysparm A step towards scheduling.
Parallel Processing in SAS CPUCOUNT A comparison of Proc Means for the Project.
June 12, 2009 Toronto Area SAS Society 1 What’s new in BASE SAS 9.2 Checkpoint/Restart Rupinder Dhillon Dhillon Consulting Inc.
SAS ODS (Output Delivery System) Donald Miller 812 Oswald Tower ;
Normal Distribution. Normal Distribution: Symmetric: Mean = Median = Mode.
By: Corey T. Williams 03 May Situation Objective.
Math – What is a Function? 1. 2 input output function.
Kurtosis SAS. g1g2.sas; data EDA; infile 'C:\Users\Vati\Documents\StatData\EDA.d at'; input Y; proc means mean skewness kurtosis N; var Y; run; Analysis.
1 How to Quickly Customize your PC SAS Session PhilaSUG GSK October 27, 2004 Mary Anne Rutkowski Kathy Harkins Senior Statistical Programming Analysts.
Tips & Tricks From your fellow SAS users 9/30/2004.
The ‘SKIP’ Macro Plagiarized from a paper by Paul Grant Private Healthcare Systems, Inc. given at SUGI 23, Nashville, TN, 1998.
Copyright © 2010, SAS Institute Inc. All rights reserved. SAS ® Using the SAS Grid.
TASS Meeting Setting GuessingRows when Importing Excel Files September 19th, 2008 Setting GuessingRows when importing Excel Files Dr. Arthur Tabachneck,
While You Were Sleeping… SAS Is Hard At Work Andrea Wainwright- Zimmerman.
SAS Basics. Windows Program Editor Write/edit all your statement here.
Customize SAS Output Using ODS Joan Dong. The Output Delivery System (ODS) gives you greater flexibility in generating, storing, and reproducing SAS procedure.
Dynamic Generation of Data Steps on basis of Unique By-Group Permutations David Rosenfeld City of Toronto.
Using Map-reduce to Support MPMD Peng
生产者一级消费者 二级消费者 1 、写出花坛中有可能出现的食物链,并用 连接植物、动物名 称 2 、试一试, 还可以怎样写, 来表示它们之间的关系呢 ?
JPMorganChase1 Care and Feeding of SMF in a Large System Environment Joe Babcock.
TASS Meeting Quickly Finding Project Code March 13th, 2009 A way to quickly find all of your project code Dr. Arthur Tabachneck Director, Data Management.
Hints and Tips SAUSAG Q SORTING – NOUNIQUEKEY The NOUNIQUEKEY option on PROC SORT is a useful way in 9.3 to easily retain only those records with.
Leave Your Bad Code Behind: 50 Ways to Make Your SAS® Code Execute More Efficiently. William E Benjamin Jr Owl Computer Consultancy, LLC Copyright 2012.
Multi-runner May 2017 S. Podgorski , W. Booth 5 May 2017 multi-runner.
Ticket in the Door Find the mean, median and mode of the data.
12.3 Analyzing Data 12.4 Standard Deviation.
© T Madas.
Functions and their Graphs
3 Macro Storage.
Fall 2017 Questions and Answers (Q&A)
شاخصهای عملکردی بیمارستان
3 Macro Parameters.
در تجزیه و تحلیل شغل باید به 3 سوال اساسی پاسخ دهیم Job analysis تعریف کارشکافی، مطالعه و ثبت جنبه های مشخص و اساسی هر یک از مشاغل عبارتست از مراحلی.
مدل زنجیره ای در برنامه های سلامت
فرق بین خوب وعالی فقط اندکی تلاش بیشتر است
SAS ‘interface’ editor, log, output menus/tabs “Solutions” tab (look it over to see what SAS can do) “Help” tab - for any of R, SAS, WinBUGS the internet.
Complete Case Macro.
Function Notation “f of x” Input = x Output = f(x) = y.
Checkpoint Restart Demo (Using Labels)
Macro Project: Automatic Reporting System
Outline READ DATA DATA STEPS MERGE DATA PROC IMPORT
Using Macros to Solve the Collation Problem
To be able to identify and use function notation.
مديريت موثر جلسات Running a Meeting that Works
Automating SAS through the Power of VB Script
Trigger %macro check_trigger_run;
Set Axis macro.
Temporal Back-Propagation Algorithm
Tips and Tricks for Using Macros to Automate SAS Reporting.
 Is a machine that is able to take information (input), do some work on (process), and to make new information (output) COMPUTER.
Data tmp; do i=1 to 10; output; end; run; proc print data=tmp;
Median: middle score - half of the data will fall below the median When data is placed in order… - half of the data will fall below the median.
Wilcoxon Rank-Sum Test
Writing Robust SAS Macros
Presentation transcript:

Checkpoint Restart Demo (Using Steps)

LIBNAME chkptlib "c:\temp\checkpoint_Step"; options cpucount=8; %macro sumstat(indsn=,invar=); data _null_; call sleep(1,2); run; proc means data=&indsn. median mean; var &invar.; %mend;

CHECKPOINT EXECUTE_ALWAYS; data _null_; putlog '********************************'; putlog '***EXAMPLE for FALL 2017 Q&A****'; run; /* Create input data */ data a; do i=1 to 2000000; x=i; y=x+1; z=y+1; output; end; %sumstat(indsn=a, invar=x); %sumstat(indsn=a, invar=y); %sumstat(indsn=a, invar=z);

rem run job in checkpoint mode "C:\Program Files\SASHome2\SASFoundation\9.4\sas.exe" -nologo ^ -CONFIG "C:\Program Files\SASHome2\SASFoundation\9.4\nls\en\sasv9.cfg" ^ -sysin 'C:\temp\Checkpoint_Step\Checkpoint_Step.sas' ^ -errorabend -errorcheck strict ^ -stepchkpt -stepchkptlib chkptlib ^ -noworkinit -noworkterm

rem run job in restart mode "C:\Program Files\SASHome2\SASFoundation\9.4\sas.exe" -nologo ^ -CONFIG "C:\Program Files\SASHome2\SASFoundation\9.4\nls\en\sasv9.cfg" ^ -sysin 'C:\temp\Checkpoint_Step\Checkpoint_Step.sas' ^ -errorabend -errorcheck strict ^ -steprestart -stepchkptlib chkptlib ^ -noworkinit -noworkterm