Copyright © 2010, SAS Institute Inc. All rights reserved. SAS ® EasyAPI SafeMode A Usage Scenario.

Slides:



Advertisements
Similar presentations
Websydian Anne-Marie Arnvig Manager, Websydian Communications & Relations.
Advertisements

Websydian products.
Productivity Tools For SAS . SAS ® users today ASAP ™Enhancement complementSoft introduces ASAP ™ an innovative productivity tool for SAS ® Diagramming.
Copyright © 2005, SAS Institute Inc. All rights reserved. SAS ABM Survey Kit A Sample Usage Scenario: Leveraging Flexible Assignment Surveys.
Copyright © 2005, SAS Institute Inc. All rights reserved. SAS ABM Survey Kit A Sample Usage Scenario: Collecting Numeric Attribute Values.
SQL Server Disaster Recovery Chris Shaw Sr. SQL Server DBA, Xtivia Inc.
1 Common Sense DEBT REDUCTION TOOLS (Use mathematical formulas to turn debt into wealth)
A Pipeline for Lockless Processing of Sound Data David Thall Insomniac Games.
Silberschatz, Galvin and Gagne ©2009Operating System Concepts – 8 th Edition Chapter 4: Threads.
Copyright, SAS Institute Inc. All rights reserved. SAS ® Activity-Based Management (ABM) EasyAPI A Framework Usage Scenario.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 5: Threads Overview Multithreading Models Threading Issues Pthreads Solaris.
©Brooks/Cole, 2003 Chapter 7 Operating Systems Dr. Barnawi.
Chapter 9 Using Data Flow Diagrams
Silberschatz, Galvin and Gagne ©2009Operating System Concepts – 8 th Edition Chapter 4: Threads.
With experience you can develop the skills needed to clean and maintain your computer, and diagnose and resolve basic problems that may occur when using.
1 CSE 403 Reliability Testing These lecture slides are copyright (C) Marty Stepp, They may not be rehosted, sold, or modified without expressed permission.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Hands-On Microsoft Windows Server 2008 Chapter 11 Server and Network Monitoring.
CH 13 Server and Network Monitoring. Hands-On Microsoft Windows Server Objectives Understand the importance of server monitoring Monitor server.
Windows Server 2008 Chapter 11 Last Update
Smart Mail lets you send and receive s from your mobile phone in a quick and easy way using your favorite mail account.
Virtual Memory Tuning   You can improve a server’s performance by optimizing the way the paging file is used   You may want to size the paging file.
The Operating System. Operating Systems (F) What you need to know about –operating system as a program; –directory/folder.
Students: Nadia Goshmir, Yulia Koretsky Supervisor: Shai Rozenrauch Industrial Project Advanced Tool for Automatic Testing Final Presentation.
Transactions and Reliability. File system components Disk management Naming Reliability  What are the reliability issues in file systems? Security.
Advanced Topics: MapReduce ECE 454 Computer Systems Programming Topics: Reductions Implemented in Distributed Frameworks Distributed Key-Value Stores Hadoop.
Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute.
Copyright © 2005, SAS Institute Inc. All rights reserved. Filling the Gap: Extending the SAS BI Server with Custom Tasks Chris Hemedinger, SAS Institute.
Copyright © 2005, SAS Institute Inc. All rights reserved. SAS ABM Survey Kit A Sample Usage Scenario: Collecting Group Assignment Values.
Net Optics Confidential and Proprietary Net Optics appTap Intelligent Access and Monitoring Architecture Solutions.
Computers & Employment By Andrew Attard and Stephen Calleja.
Exponential Equations Solved by Logarithms (6.8) Finding the value of the exponent when b x = a.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Problem Determination Your mind is your most important tool!
Business Unit or Product Name © 2007 IBM Corporation Introduction of Autotest Qing Lin.
Module 7: Fundamentals of Administering Windows Server 2008.
A Proposal of Application Failure Detection and Recovery in the Grid Marian Bubak 1,2, Tomasz Szepieniec 2, Marcin Radecki 2 1 Institute of Computer Science,
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
Copyright © 2006, SAS Institute Inc. All rights reserved. SAS Enterprise Guide Old Proc – New Tricks? Tim Trussell Academic Program, SAS Canada world diabetes.
Java Software Solutions Lewis and Loftus Chapter 14 1 Copyright 1997 by John Lewis and William Loftus. All rights reserved. Advanced Flow of Control --
Presented By: Shreya Patel ( ) Vidhi Patel ( ) Universal College Of Engineering And Technology.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Reliability and Recovery CS Introduction to Operating Systems.
Model View Controller A Pattern that Many People Think They Understand, But Has A Couple Meanings.
Copyright © 2005, SAS Institute Inc. All rights reserved. JDBC, SAS and Multi-user Update Mitchel Soltys Manager Open Data Access.
The Relational Model1 Transaction Processing Units of Work.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 14 Threads 2 Read Ch.
CS510 Concurrent Systems Jonathan Walpole. RCU Usage in Linux.
Managing your IT Environment. Microsoft Operations Manager 2005 Overview.
Agenda Managing Processes (Jobs) Command Grouping Running jobs in background (bg) Bringing jobs to foreground (fg), Background job status (jobs) Suspending.
Lecture 4 Page 1 CS 111 Online Modularity and Memory Clearly, programs must have access to memory We need abstractions that give them the required access.
Internet of Things. Creating Our Future Together.
Concurrent Programming in Java Based on Notes by J. Johns (based on Java in a Nutshell, Learning Java) Also Java Tutorial, Concurrent Programming in Java.
1.3 Operating system services An operating system provide services to programs and to the users of the program. It provides an environment for the execution.
DXL to PST Converter presents
Chapter 4: Threads.
Brian Leonard ブライアン レオナルド
LCGAA nightlies infrastructure
GLAST Release Manager Automated code compilation via the Release Manager Navid Golpayegani, GSFC/SSAI Overview The Release Manager is a program responsible.
Lecture 28 Concurrent, Responsive GUIs
Modularity and Memory Clearly, programs must have access to memory
Event Driven Programming
Northbound API Dan Shmidt | January 2017
TEMPDB – INTERNALS AND USAGE
Workflow applications
Chapter 4: Threads.
Features Overview.
Qmetry User Interface Recommendations
Presentation transcript:

Copyright © 2010, SAS Institute Inc. All rights reserved. SAS ® EasyAPI SafeMode A Usage Scenario

Problem: You want to automate SAS © and other non-SAS © data updates and reporting using the Application Programming Interface (API). Despite the possibility of system crash (outside of your automation program control), you want to ensure the job can be completed safely in a “single-shot” (no redundancy of re-running successful jobs). Solution: SAS EasyAPI with SafeMode technology

Notice the highlighted tasks in the EasyAPI script. We’ll need to export Data 1006, 1013, 1014 first Before the EG Graph HTML report can be generated. The same with the SAS ODS report. Data 1017, 1022, 1027 and 1030 must be exported successfully first. With no complex user-interfaces or programming knowledge to learn, EasyAPI users can “sequentially batch” the jobs And be notified by once it’s done.

Let’s see what happens when we run our EasyAPI script without SafeMode. The user simply double-clicks on “No SafeMode” shortcut Which would run EasyAPI without SafeMode.

So far so good. Notice “Data 1006.zip” has been exported. “Data 1013.zip”, “Data 1014.zip” – and even the EG Graph html report (Bar.html) have been generated. They are running in the exact sequential order we want. EasyAPI has built-in error handlers that check the logs For trappable errors and them. But what about system crashes? We can’t trap those. No automation framework that we’re aware of can Handle those either!

Oops. A crash. “… the information you were working on might be lost.”? When it comes to a system crash, it can be very Challenging to deal with because of its random nature. Sometimes it happens, sometimes it doesn’t. The system crash can be caused by Network, hardware, kernel or other systems latency That is outside the control of EasyAPI (or any automation framework for that matter).

EasyAPI keeps track of at what point the crash Happened. Based on the log (SafeMode.txt), the crash Happened at the “c:\ABM\XML\export1022.xml” task. Notice, the last successful export was for “Data 1017.zip”. So yes, the smart thing to do for EasyAPI is to close the System Crash window and Then simply re-submit the job From this “Last point of failure”. This would remove redundancy of re-running successful jobs And would allow us to proceed safely to the finish line. This is where SafeMode comes in handy.

Let’s see what happens when we run our EasyAPI script with SafeMode. The user simply double-clicks on “SafeMode” shortcut Which would run EasyAPI with SafeMode.

Notice EasyAPI “spawned” a separate non-intrusive thread process called “SafeMode.exe” It runs in the background (visible through Windows Task Manager only). The light-weight thread monitors for the System crash problem window in real-time. It would terminate the problem Window if It detects one and then re-submit The job from the “last point of failure”-line.

Notice in the background “Data 1006.zip” all the way down to the “ODS.html” report have been successfully generated. SafeMode intelligently took care of the system crash And allowed us to run the entire job safely in a “single-shot”.

We also got the SUCCESS notice. Let’s look at the 2 HTML reports we’ve Just generated – shall we?

We’ll close with the next Flowchart screen that summarizes the Entire EasyAPI SafeMode process.

Copyright © 2010, SAS Institute Inc. All rights reserved. Thank You