Getting Familiar with DS2 and FedSQL

Slides:



Advertisements
Similar presentations
INTRO TO VHDL Appendix A: page page VHDL is an IEEE and ANSI standard. VHDL stands for Very High Speed IC hardware description language.
Advertisements

Chapter 7 User-Defined Methods. Chapter Objectives  Understand how methods are used in Java programming  Learn about standard (predefined) methods and.
Wednesday, 10/2/02, Slide #1 CS 106 Intro to CS 1 Wednesday, 10/2/02  QUESTIONS (on HW02 – due at 5 pm)??  Today:  Review of parameters  Introduction.
Lecture-5 Though SQL is the natural language of the DBA, it suffers from various inherent disadvantages, when used as a conventional programming language.
JSP: JavaServer Pages Juan Cruz Kevin Hessels Ian Moon.
1 Programming for Engineers in Python Autumn Lecture 5: Object Oriented Programming.
Javascript II Expressions and Data Types. 2 JavaScript Review programs executed by the web browser programs embedded in a web page using the script element.
Hash vs Join A case study evaluating the use of the data step hash object to replace a SQL join Geoff Ness Sep 2014.
Programming Languages 2nd edition Tucker and Noonan Chapter 6 Types I was eventually persuaded of the need to design programming notations so as to maximize.
Using SAS PROC FCMP Cheryl Xiyun Wang Statistics Canada
SAS Grid at Statistics Canada BY: Yves DeGuire Statistics Canada June 12, 2014.
Introduction to PHP and Server Side Technology. Slide 2 PHP History Created in 1995 PHP 5.0 is the current version It’s been around since 2004.
 Computer Science 1MD3 Introduction to Programming Michael Liut Ming Quan Fu Brandon.
Names Variables Type Checking Strong Typing Type Compatibility 1.
Goals of Course Introduction to the programming language C Learn how to program Learn ‘good’ programming practices.
By Arun Bhandari Course: HPC Date: 01/28/12. GPU (Graphics Processing Unit) High performance many core processors Only used to accelerate certain parts.
Grid The Evolution from Parallel Processing to Modern Day Computing Greg McLean Vecdet Mehmet-Ali.
Web Categorization Crawler Mohammed Agabaria Adam Shobash Supervisor: Victor Kulikov Winter 2009/10 Design & Architecture Dec
CHAPTER:14 Simple Queries in SQL Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
INTRODUCTION TO SAS MACRO PROCESSING James R. Bence, Ph.D., Co-Director Quantitative Fisheries Center Professor Department of Fisheries and Wildlife March.
Programming Language C++ Xulong Peng CSC415 Programming Languages.
1 MT258 Computer Programming and Problem Solving Unit 7.
1 Copyright © 2004, Oracle. All rights reserved. Introduction to PL/SQL.
Using Procedures & Functions Oracle Database PL/SQL 10g Programming Chapter 9.
1 Special Programming Workshop CSIT-120 Fall 2000 Workshop Targets Solving problems on computer Programming in C++ Writing and Running Programs Programming.
MATRIX MULTIPLY WITH DRYAD B649 Course Project Introduction.
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
Copyright © 2013, SAS Institute Inc. All rights reserved. SAS GLOBAL FORUM: NEW & NOTEWORTHY MATT MALCZEWSKI – COMMUNITIES MANAGER.
“Come out of the desert of ignorance to the OASUS of knowledge” Grid Computing with SAS ® Foundation Statistics Canada SAS Technology Centre.
Programming with Visual C++: Concepts and Projects Chapter 2B: Reading, Processing and Displaying Data (Tutorial)
1 Copyright © 2004, Oracle. All rights reserved. Introduction to PL/SQL.
Programming in R SQL in R. Running SQL in R In this session I will show you how to: Run basic SQL commands within R.
C++ Programming Basic Learning Prepared By The Smartpath Information systems
Programming Languages 2nd edition Tucker and Noonan Chapter 6 Type Systems I was eventually persuaded of the need to design programming notations so as.
Procedural Programming Criteria: P2 Task: 1.2 Thomas Jazwinski.
Control Structures (B) Topics to cover here: Sequencing in C++ language.
with SAS® Data Integration Studio
Lu Chaojun, SJTU Relational Data Model 1. Lu Chaojun, SJTU What’s a Data Model? A notation (collection of conceptual tools) for describing data as seen.
The Hashemite University Computer Engineering Department
Slide 1 Chapter 6 Structures and Classes. Slide 2 Learning Objectives  Structures  Structure types  Structures as function arguments  Initializing.
Chapter 1 Java Programming Review. Introduction Java is platform-independent, meaning that you can write a program once and run it anywhere. Java programs.
Ada, Scheme, R Emory Wingard. Ada History Department of Defense in search of high level language around Requirements drafted for the language.
Expressions and Data Types Professor Robin Burke.
PL/SQL Writing Executable Statements. PL/SQL Block Syntax and Guidelines Statement can be split across lines, but keywords must not be split Lexical units.
Faeez, Franz & Syamim.   Database – collection of persistent data  Database Management System (DBMS) – software system that supports creation, population,
SAS ® 101 Based on Learning SAS by Example: A Programmer’s Guide Chapter 25 By Tasha Chapman, Oregon Health Authority.
UMass Lowell Computer Science Java and Distributed Computing Prof. Karen Daniels Fall, 2000 Lecture 10 Java Fundamentals Objects/ClassesMethods.
Presentation By :- Nikhil R. Anande ( ) Electronic & Communication Engineering. 3 nd Year / 5 th Semester FACULTY GUIDE : RAHIUL PATEL SIR MICROCONTROLLER.
3 Copyright © 2004, Oracle. All rights reserved. Writing Executable Statements.
 It is a pure oops language and a high level language.  It was developed at sun microsystems by James Gosling.
1 Chapter 5: Threads Overview Multithreading Models & Issues Read Chapter 5 pages
Relational Data Model Lu Chaojun, SJTU.
Chapter 7 User-Defined Methods.
Names and Attributes Names are a key programming language feature
Using ODS Excel Migrating from DDE to ODS
Fundamentals of PL/SQL part 1 (Basics)
UNIT - V STORED PROCEDURE.
Lecture2.
Functional Programming with Java
Introduction to the C Language
Chapter 4: Threads.
Implementing Threads in User Space
Advanced Programming Techniques Using the DS2 Procedure
Go.
Session - 6 Sequence - 1 SQL: The Structured Query Language:
Operating Systems Threads 1.
C Programming Language
Session - 6 Sequence - 1 SQL: The Structured Query Language:
Techniques to Invoke Web Services from SAS
Threads -For CSIT.
Presentation transcript:

Getting Familiar with DS2 and FedSQL OASUS Spring or Fall YYYY Monday, April 17, 2017 Getting Familiar with DS2 and FedSQL Greg Ludwinski Statistics Canada First & last name Company name

OASUS Spring or Fall YYYY Monday, April 17, 2017 FedSQL SAS Implementation of ANSI SQL:1999 core standard (vender neutral) Fed stands for Federated Accessible in SAS base via Proc FedSQL starting in SAS 9.4 Optimized with multi-threaded algorithms First & last name Company name

OASUS Spring or Fall YYYY Monday, April 17, 2017 DS2 A programming language accessible via Proc DS2 in base SAS Accepts embedded FedSQL syntax Many similarities to the data step Leverages a new SAS kernel In-Database Code Accelerator First & last name Company name

OASUS Spring or Fall YYYY Monday, April 17, 2017 Data Types Category Types Character CHAR(n) , VARCHAR(n) NCHAR(n), NVARCHAR(n) Fractional numeric FLOAT(p), REAL, DOUBLE DECIMAL(p,s) Integer numeric TINYINT (127) SMALLINT (32,767) INTEGER (2,147,483,647) BIGINT ( 9,223,372,036,854,775,807) Binary BINARY(n) VARBINARY(n) Date and time ANSI date, time, and timestamp, Conversion functions; TO_DOUBLE, TO_DATE, TO_TIME, TO_TIMESTAMP First & last name Company name

OASUS Spring or Fall YYYY Monday, April 17, 2017 Programming Blocks DATA...ENDDATA METHOD...END PACKAGE...ENDPACKAGE THREAD...ENDTHREAD DO...END First & last name Company name

OASUS Spring or Fall YYYY Monday, April 17, 2017 Program Structure Data <output dataset | _NULL_>; {global variable declarations} method init(); {local variable declarations, DS2 Statements} end; method run(); method term(); enddata; First & last name Company name

OASUS Spring or Fall YYYY Monday, April 17, 2017 Methods All code executes in a method System methods Init(), Run(), Term(), SetParms() User-defined methods Methods can be overloaded First & last name Company name

OASUS Spring or Fall YYYY Monday, April 17, 2017 Packages DS2 packages are similar to classes Predefined FCMP Logger SQLSTMT Matrix Hash HTTP User defined First & last name Company name

OASUS Spring or Fall YYYY Monday, April 17, 2017 Threads Light weight processes Share resources Process sections of a dataset concurrently Executed with the SET FROM statement First & last name Company name

OASUS Spring or Fall YYYY Monday, April 17, 2017 Scope Declare variables (DS2SCOND=ERROR) Global scope vs. Method scope Data program vs. Package vs. Thread scope. Dot notation resolves conflicts (This) First & last name Company name

OASUS Spring or Fall YYYY Monday, April 17, 2017 DS2 Benefits Precision Modularity, Encapsulation, and Abstraction Multi-threading  Performance First & last name Company name

OASUS Spring or Fall YYYY Monday, April 17, 2017 Resources DS2 Language Reference (1000+ pages) FedSQL Language Reference (500+ pages) SGF 2014 Papers DS2 and You (SGF 2013) SAS Support *DS2 Programming Essentials course is coming to Ottawa in 2015 First & last name Company name

OASUS Spring or Fall YYYY Monday, April 17, 2017 Example Time First & last name Company name

OASUS Spring or Fall YYYY Questions / Comments Monday, April 17, 2017 Greg Ludwinski Project Leader System Engineering Division Statistics Canada Jean Talon Building 5th Floor Section A2 170, Tunney’s Pasture driveway Ottawa, Ont., K1A 0T6 (613) 951-2768 Gregory.Ludwinski@statcan.gc.ca First & last name Company name