SlideShare ist ein Scribd-Unternehmen logo
1 von 36
Downloaden Sie, um offline zu lesen
R t
                      Return of the Codes:
                              f th C d
                      SAS ®, Windows’®
                      SAS’® Windows ®, and Your’s
                                           Your s
                                                                                                 Mark Tabladillo Ph.D.
                                                                                                 MarkTab Consulting
                                                                                                 Associate Faculty, University of Phoenix
Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Microsoft is a registered trademark of Microsoft Corporation in the United States and other countries.
Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Communicate
                                                                   C      i t
                                                                     Better!

Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Introduction

                                                       Applications have an ongoing conversation
                                                            • Users, Databases, Other Applications
                                                       Return code represents many of these often
                                                       numeric messages
                                                       Event messages d
                                                       E   t          describe th general
                                                                           ib the       l
                                                       communication category
                                                       Error messages are a special case




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Purpose

                                                                  Describe how three innovative messaging
                                                                  sources support robust SAS applications
                                                                  development
                                                            1.                    SAS (the programming language)
                                                            2.                    Windows (the operating system)
                                                            3.                    Yours (customized)




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
SAS                                                                                                                                                                        Windows
                                                                                                                                          Who’s
                                                                                                                                         Talking?



                                        WE! (you and me)
                                            (      d   )
Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
SAS 101: Print a Dataset



               options pagesize=60 linesize=80 pageno=1 nodate;
               libname mylib 'permanent-data-library';
                              permanent data library ;
               data mylib.internationaltours;
                   infile 'input-file';
                   input Country $ Nights AirCost LandCost Vendor $;
                     p         y     g
               proc print data = mylib.internationaltours;
                  title 'Data Set MYLIB.INTERNATIONALTOURS';
               run;




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
SAS 101: Print a Dataset
            SAS 201: How do you know it works?

               options pagesize=60 linesize=80 pageno=1 nodate;
               libname mylib 'permanent-data-library';
                              permanent data library ;
               data mylib.internationaltours;
                   infile 'input-file';
                   input Country $ Nights AirCost LandCost Vendor $;
                     p         y     g
               proc print data = mylib.internationaltours;
                  title 'Data Set MYLIB.INTERNATIONALTOURS';
               run;




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
SAS 101: Print a Dataset
            SAS 201: How do you know it works?
            SAS 301: What could go wrong?
               options pagesize=60 linesize=80 pageno=1 nodate;
               libname mylib 'permanent-data-library';
                              permanent data library ;
               data mylib.internationaltours;
                   infile 'input-file';
                   input Country $ Nights AirCost LandCost Vendor $;
                     p         y     g
               proc print data = mylib.internationaltours;
                  title 'Data Set MYLIB.INTERNATIONALTOURS';
               run;




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
SAS
              Category One: SAS®
              C        O S S®

                                                                  SAS provides efficient event messaging using
                                                                  seven features:
                                                            1.
                                                            1                     System Options
                                                                                  S t    O ti
                                                            2.                    Automatic Macro Variables
                                                            3.                    ARM Macros
                                                            4.                    Functions
                                                            5.                    Call MODULE Routine
                                                            6.
                                                            6                     PUT Statement
                                                            7.                    SCL Event Classes




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
SAS
              SAS: S
              S S System Options
                         O

                                                       System options are instructions that affect the
                                                       SAS session
                                                       Querying system options can be done through
                                                       dictionary tables
                                                       Use SCL commands OPTGETC OPTGETN
                                                                        OPTGETC, OPTGETN,
                                                       OPTSETC, and OPTSETN




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
SAS
              SAS: S
              S S System Option Examples
                         O

                                                       DSNFERR – Controls how SAS responds when
                                                       a SAS dataset is not found
                                                       ERRORCHECK – controls error handling
                                                       MPRINT – Displays SAS statements that are
                                                       generated by macro execution




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
SAS
              SAS:
              S S Automatic Macro Variables

                                                       The SAS macro processor creates automatic
                                                       macro variables
                                                       Automatic macro variables complement system
                                                       options by allowing SAS to report current state




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
SAS
              SAS:
              S S Automatic Macro Variables

                                                       SYSRC (read and write) – various system-
                                                       related return codes
                                                       SYSPROCESSID – the process ID of the current
                                                       SAS process
                                                       SYSPROCESSNAME – the process name of the
                                                       current SAS process




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
SAS
              SAS:
              S S ARM Macros

                                                       ARM (Automatic Response Measurement)
                                                       Macros provide a way to measure the
                                                       performance of applications as they execute
                                                       The macros are lightweight and are designed to
                                                       run outside the DATA step and PROC
                                                                               p
                                                       statements
                                                       The ARM API provides an interface to retrieve
                                                       performance information




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
SAS
              SAS:
              S S Functions

                                                       A function performs a computation or system
                                                       manipulation on arguments and returns a value
                                                       In addition to base SAS functions, SCL provides
                                                       other functions which have return codes




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
SAS
              SAS:
              S S Function Examples

                                                       SYSRC – returns a system error number
                                                       SYSGET – returns the value of the specified
                                                                                          p
                                                       operating environment variable
                                                       SYSTEM – issues an operating system
                                                       environment command during a SAS session
                                                       and returns the system return code




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
SAS
              SAS: C
              S S CALL Module Routine

                                                       CALL Module “calls the external routine without
                                                       any return code”
                                                       CALL Module “calls the external routine without
                                                       an explicit SAS return code”
                                                       Allows extended reach in Windows and Unix




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
SAS
              SAS:
              S S PUT Statement
                      S

                                                       The PUT statement allows for general reporting
                                                       to the LOG or any ODS destination
                                                       Allows for documenting and reporting return
                                                       codes to users




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
SAS
              SAS: SCL
              S S SC Event Classes
                           C

                                                       Events allow for communication among visual
                                                       and non-visual classes
                                                       The SCL Exception class provides a framework
                                                       for throwing exceptions (distinct from regular
                                                       events) )




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Windows
              Category Two: Windows®
              C                    ®

                                                       Windows provides SAS efficient event
                                                       messaging using four features:
                                                            1 SAS S t
                                                            1.SAS System O ti
                                                                         Options f Windows
                                                                                 for Wi d
                                                            2.SAS Automatic Macro Variables for Windows
                                                            3.SAS Functions and CALL Routines for Windows
                                                            4.Windows System Error Codes




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Windows
              Windows: S S Features
                       SAS

                                                       SAS has separate documentation for each
                                                       operating system
                                                       SAS running on Windows has extended
                                                       capabilities for
                                                            • System options
                                                            • Automatic macro variables
                                                            • Functions and CALL routines




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Windows
              Windows: Windows 32 API S
                                      System Error C
                                                   Codes

                                                       The CALL module routine can access the
                                                       Windows 32 API DLLs
                                                       The full list of Windows error codes can be
                                                       returned to SAS
                                                       The gateway can also provide interactive
                                                       communication with Windows
                                                       Supported in 64-bit Vista and Server 2008
                                                                    64 bit




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Yours
              Category Three: Yours
              C

                                                                  We can create event messaging systems that
                                                                  emulate what SAS and Windows provide
                                                                  Three distinct outputs
                                                            1.                    Receive no response
                                                            2.
                                                            2                     Receive a response sometimes (incomplete)
                                                            3.                    Always receive a response




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Yours
         Category Three: Yours
         Category                                                                                          Description
         Application Options
                                                                                                            Similar to SAS system options, application
                                                                                                           options are variables declared either globally
                                                                                                             or locally for an application, and allow for
                                                                                                           return code processing to be controlled from
                                                                                                               a higher level. The variables could be
                                                                                                            stored in application datasets, similar to the
                                                                                                                     read-only
                                                                                                                     read only dictionary tables
                                                                                                                                           tables.




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Yours
         Category Three: Yours
         Category                                                                                          Description
         Application Macro
         Variables
                                                                                                                Similar to SAS automatic macro variables,
                                                                                                                the
                                                                                                                th application macro variables ( l b l or
                                                                                                                         li ti              i bl (global
                                                                                                               local) provide the ability to keep the state at
                                                                                                               a specific p
                                                                                                                  p        point. Information stored could be
                                                                                                                 character or text (though macro variables
                                                                                                                     always store information as text).




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Yours
         Category Three: Yours
         Category                                                                                          Description
         Application Macros
                                                                                                               Similar to SAS ARM Macros, the application
                                                                                                                 can hhave it own macros t monitor and
                                                                                                                           its              to   it    d
                                                                                                                measure performance. These customized
                                                                                                                 macros could extend the capabilities of
                                                                                                               ARM macros, providing the application with
                                                                                                                     robust reporting on performance.
                                                                                                                Developing these macros separately from
                                                                                                                 other macros allows them to be used in
                                                                                                                            future applications.


Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Yours
         Category Three: Yours
         Category                                                                                          Description
         Functions
                                                                                                                 Similar to SAS functions, applications can
                                                                                                                   define
                                                                                                                   d fi methods i SCL Th
                                                                                                                             th d in SCL. These methodsth d
                                                                                                               can provide a return code, and could extend
                                                                                                                 or incorporate what SAS natively p
                                                                                                                          p                        y provides
                                                                                                                 for return code processing. Encapsulating
                                                                                                                  these methods individually, or as a group
                                                                                                                (creating a class or classes using SAS/AF)
                                                                                                               would allow these methods or classes to be
                                                                                                                        copied into future applications.


Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Yours
         Category Three: Yours
         Category                                                                                          Description
         CALL Module                                                                                                  Similar to calling Windows DLLs, SAS
         Routine
                                                                                                                    applications running in Windows could call
                                                                                                                        li ti          i i Wi d         ld ll
                                                                                                                    programmed .NET DLLs. These modules
                                                                                                                     could have return codes and messages
                                                                                                                     helping the application to become more
                                                                                                                    robust. Generically developed DLLs have
                                                                                                                    the advantage of being used across many
                                                                                                                               custom applications.



Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Yours
         Category Three: Yours
         Category                                                                                          Description
         Reporting Datasets
         and Forms
                                                                                                               Instead of simply using the PUT statement
                                                                                                                  to
                                                                                                                  t send variable values t th l
                                                                                                                         d   i bl     l   to the log, an
                                                                                                               application could store the information in a
                                                                                                                dataset. Also, the application could have
                                                                                                                              ,      pp
                                                                                                                  customized forms for reporting errors,
                                                                                                              including the option to send those reports as
                                                                                                                 an attachment or the body of an e-mail
                                                                                                                                                   e-mail.




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Yours
         Category Three: Yours
         Category                                                                                          Description
         Event Classes
                                                                                                                Create event classes which capture specific
                                                                                                                return codes as events. Create customized
                                                                                                                  t       d             t C t       t i d
                                                                                                                 SCL classes based on the SCL exception
                                                                                                                 class; alternatively, use a language which
                                                                                                                      ;             y,          g g
                                                                                                                 can produce a COM interface to work with
                                                                                                                SAS to provide advanced error capabilities.
                                                                                                                 Use event classes to communicate across
                                                                                                                       components and applications.



Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Advice f Reusable C
                     for        Code
                       Use binary codes for success or failure
                                y
                       Consider global enumeration storage to allow for named references to return
                       code conditions
                       Use simple, reusable names for macros, functions, and classes
                       Code for the complete set of possible conditions, not only the ones proven
                       through experience
                       Optionally implement reporting to the SAS log, or to an external event log
                                                                 log
                       (database or file)




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Conclusion

                                                                  Described how three innovative messaging
                                                                  sources support robust SAS applications
                                                                  development
                                                            1.                    SAS (the programming language)
                                                            2.                    Windows (the operating system)
                                                            3.                    Your’s (customized)
                                                                  Comprehensive return messaging defines
                                                                  robust applications




Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Communicate
                                                                   C      i t
                                                                     Better!

Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
R t
                      Return of the Codes:
                              f th C d
                      SAS ®, Windows’®
                      SAS’® Windows ®, and Your’s
                                           Your s
                                                                                                 Mark Tabladillo Ph.D.
                                                                                                 MarkTab Consulting
                                                                                                 Associate Faculty, University of Phoenix
Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Microsoft is a registered trademark of Microsoft Corporation in the United States and other countries.

Weitere ähnliche Inhalte

Ähnlich wie Return of the Codes -- SAS', Windows' and Your's

Install SAS 9.2 presentation
Install SAS 9.2 presentationInstall SAS 9.2 presentation
Install SAS 9.2 presentationShane Gibson
 
Hechsp 001 Chapter 1
Hechsp 001 Chapter 1Hechsp 001 Chapter 1
Hechsp 001 Chapter 1Brian Kelly
 
SAS Training | SAS Tutorials For Beginners | SAS Programming | SAS Online Tra...
SAS Training | SAS Tutorials For Beginners | SAS Programming | SAS Online Tra...SAS Training | SAS Tutorials For Beginners | SAS Programming | SAS Online Tra...
SAS Training | SAS Tutorials For Beginners | SAS Programming | SAS Online Tra...Edureka!
 
SAS Base Programming Certification course in Pune - Aspire Techsoft
SAS Base Programming Certification course in Pune - Aspire TechsoftSAS Base Programming Certification course in Pune - Aspire Techsoft
SAS Base Programming Certification course in Pune - Aspire TechsoftAspire Techsoft Academy
 
Seven Agile Methods that Help Deliver Visualizations Agilely
Seven Agile Methods that Help Deliver Visualizations Agilely Seven Agile Methods that Help Deliver Visualizations Agilely
Seven Agile Methods that Help Deliver Visualizations Agilely AgileBI Guru
 
20180410 sasgf2018 2454 lazy programmers xml ppt
20180410 sasgf2018 2454 lazy programmers xml ppt20180410 sasgf2018 2454 lazy programmers xml ppt
20180410 sasgf2018 2454 lazy programmers xml pptDavid Horvath
 
What Is SAS | SAS Tutorial For Beginners | SAS Training | SAS Programming | E...
What Is SAS | SAS Tutorial For Beginners | SAS Training | SAS Programming | E...What Is SAS | SAS Tutorial For Beginners | SAS Training | SAS Programming | E...
What Is SAS | SAS Tutorial For Beginners | SAS Training | SAS Programming | E...Edureka!
 
Analytics with SAS
Analytics with SASAnalytics with SAS
Analytics with SASEdureka!
 
Data science machine learning and data analysis using sas
Data science   machine learning and data analysis using sasData science   machine learning and data analysis using sas
Data science machine learning and data analysis using sasRakesh P
 
Accelerate Your Big Data Analytics Efforts with SAS and Hadoop
Accelerate Your Big Data Analytics Efforts with SAS and HadoopAccelerate Your Big Data Analytics Efforts with SAS and Hadoop
Accelerate Your Big Data Analytics Efforts with SAS and HadoopDataWorks Summit
 
Webinar: Comparing DataStax Enterprise with Open Source Apache Cassandra
Webinar: Comparing DataStax Enterprise with Open Source Apache CassandraWebinar: Comparing DataStax Enterprise with Open Source Apache Cassandra
Webinar: Comparing DataStax Enterprise with Open Source Apache CassandraDataStax
 
Whats Hot, Whats Not Skills For Sas® Professionals (Presentation)
Whats Hot, Whats Not   Skills For Sas® Professionals (Presentation)Whats Hot, Whats Not   Skills For Sas® Professionals (Presentation)
Whats Hot, Whats Not Skills For Sas® Professionals (Presentation)Kirk Lafler
 
GPSTEC312-SAP HANA HA on AWS Preventing Production Facepalms
GPSTEC312-SAP HANA HA on AWS Preventing Production FacepalmsGPSTEC312-SAP HANA HA on AWS Preventing Production Facepalms
GPSTEC312-SAP HANA HA on AWS Preventing Production FacepalmsAmazon Web Services
 
101 erp605 process_overview_en_in
101 erp605 process_overview_en_in101 erp605 process_overview_en_in
101 erp605 process_overview_en_inSergio Bobadilha
 

Ähnlich wie Return of the Codes -- SAS', Windows' and Your's (20)

Install SAS 9.2 presentation
Install SAS 9.2 presentationInstall SAS 9.2 presentation
Install SAS 9.2 presentation
 
Hechsp 001 Chapter 1
Hechsp 001 Chapter 1Hechsp 001 Chapter 1
Hechsp 001 Chapter 1
 
SAS Training | SAS Tutorials For Beginners | SAS Programming | SAS Online Tra...
SAS Training | SAS Tutorials For Beginners | SAS Programming | SAS Online Tra...SAS Training | SAS Tutorials For Beginners | SAS Programming | SAS Online Tra...
SAS Training | SAS Tutorials For Beginners | SAS Programming | SAS Online Tra...
 
SAS Base Programming Certification course in Pune - Aspire Techsoft
SAS Base Programming Certification course in Pune - Aspire TechsoftSAS Base Programming Certification course in Pune - Aspire Techsoft
SAS Base Programming Certification course in Pune - Aspire Techsoft
 
Seven Agile Methods that Help Deliver Visualizations Agilely
Seven Agile Methods that Help Deliver Visualizations Agilely Seven Agile Methods that Help Deliver Visualizations Agilely
Seven Agile Methods that Help Deliver Visualizations Agilely
 
20180410 sasgf2018 2454 lazy programmers xml ppt
20180410 sasgf2018 2454 lazy programmers xml ppt20180410 sasgf2018 2454 lazy programmers xml ppt
20180410 sasgf2018 2454 lazy programmers xml ppt
 
Technology Update
Technology UpdateTechnology Update
Technology Update
 
Technology update
Technology update   Technology update
Technology update
 
What Is SAS | SAS Tutorial For Beginners | SAS Training | SAS Programming | E...
What Is SAS | SAS Tutorial For Beginners | SAS Training | SAS Programming | E...What Is SAS | SAS Tutorial For Beginners | SAS Training | SAS Programming | E...
What Is SAS | SAS Tutorial For Beginners | SAS Training | SAS Programming | E...
 
Analytics with SAS
Analytics with SASAnalytics with SAS
Analytics with SAS
 
Data science machine learning and data analysis using sas
Data science   machine learning and data analysis using sasData science   machine learning and data analysis using sas
Data science machine learning and data analysis using sas
 
Accelerate Your Big Data Analytics Efforts with SAS and Hadoop
Accelerate Your Big Data Analytics Efforts with SAS and HadoopAccelerate Your Big Data Analytics Efforts with SAS and Hadoop
Accelerate Your Big Data Analytics Efforts with SAS and Hadoop
 
Badi
BadiBadi
Badi
 
Webinar: Comparing DataStax Enterprise with Open Source Apache Cassandra
Webinar: Comparing DataStax Enterprise with Open Source Apache CassandraWebinar: Comparing DataStax Enterprise with Open Source Apache Cassandra
Webinar: Comparing DataStax Enterprise with Open Source Apache Cassandra
 
Sas demo
Sas demoSas demo
Sas demo
 
Basics of SAS
Basics of SASBasics of SAS
Basics of SAS
 
SAP BI 7.0 Info Providers
SAP BI 7.0 Info ProvidersSAP BI 7.0 Info Providers
SAP BI 7.0 Info Providers
 
Whats Hot, Whats Not Skills For Sas® Professionals (Presentation)
Whats Hot, Whats Not   Skills For Sas® Professionals (Presentation)Whats Hot, Whats Not   Skills For Sas® Professionals (Presentation)
Whats Hot, Whats Not Skills For Sas® Professionals (Presentation)
 
GPSTEC312-SAP HANA HA on AWS Preventing Production Facepalms
GPSTEC312-SAP HANA HA on AWS Preventing Production FacepalmsGPSTEC312-SAP HANA HA on AWS Preventing Production Facepalms
GPSTEC312-SAP HANA HA on AWS Preventing Production Facepalms
 
101 erp605 process_overview_en_in
101 erp605 process_overview_en_in101 erp605 process_overview_en_in
101 erp605 process_overview_en_in
 

Mehr von Mark Tabladillo

How to find low-cost or free data science resources 202006
How to find low-cost or free data science resources 202006How to find low-cost or free data science resources 202006
How to find low-cost or free data science resources 202006Mark Tabladillo
 
Microsoft Build 2020: Data Science Recap
Microsoft Build 2020: Data Science RecapMicrosoft Build 2020: Data Science Recap
Microsoft Build 2020: Data Science RecapMark Tabladillo
 
201909 Automated ML for Developers
201909 Automated ML for Developers201909 Automated ML for Developers
201909 Automated ML for DevelopersMark Tabladillo
 
201908 Overview of Automated ML
201908 Overview of Automated ML201908 Overview of Automated ML
201908 Overview of Automated MLMark Tabladillo
 
201906 01 Introduction to ML.NET 1.0
201906 01 Introduction to ML.NET 1.0201906 01 Introduction to ML.NET 1.0
201906 01 Introduction to ML.NET 1.0Mark Tabladillo
 
201906 04 Overview of Automated ML June 2019
201906 04 Overview of Automated ML June 2019201906 04 Overview of Automated ML June 2019
201906 04 Overview of Automated ML June 2019Mark Tabladillo
 
201906 03 Introduction to NimbusML
201906 03 Introduction to NimbusML201906 03 Introduction to NimbusML
201906 03 Introduction to NimbusMLMark Tabladillo
 
201906 02 Introduction to AutoML with ML.NET 1.0
201906 02 Introduction to AutoML with ML.NET 1.0201906 02 Introduction to AutoML with ML.NET 1.0
201906 02 Introduction to AutoML with ML.NET 1.0Mark Tabladillo
 
201905 Azure Databricks for Machine Learning
201905 Azure Databricks for Machine Learning201905 Azure Databricks for Machine Learning
201905 Azure Databricks for Machine LearningMark Tabladillo
 
201905 Azure Certification DP-100: Designing and Implementing a Data Science ...
201905 Azure Certification DP-100: Designing and Implementing a Data Science ...201905 Azure Certification DP-100: Designing and Implementing a Data Science ...
201905 Azure Certification DP-100: Designing and Implementing a Data Science ...Mark Tabladillo
 
Big Data Advanced Analytics on Microsoft Azure 201904
Big Data Advanced Analytics on Microsoft Azure 201904Big Data Advanced Analytics on Microsoft Azure 201904
Big Data Advanced Analytics on Microsoft Azure 201904Mark Tabladillo
 
Managing Enterprise Data Science 201904
Managing Enterprise Data Science 201904Managing Enterprise Data Science 201904
Managing Enterprise Data Science 201904Mark Tabladillo
 
Training of Python scikit-learn models on Azure
Training of Python scikit-learn models on AzureTraining of Python scikit-learn models on Azure
Training of Python scikit-learn models on AzureMark Tabladillo
 
Big Data Adavnced Analytics on Microsoft Azure
Big Data Adavnced Analytics on Microsoft AzureBig Data Adavnced Analytics on Microsoft Azure
Big Data Adavnced Analytics on Microsoft AzureMark Tabladillo
 
Advanced Analytics with Power BI 201808
Advanced Analytics with Power BI 201808Advanced Analytics with Power BI 201808
Advanced Analytics with Power BI 201808Mark Tabladillo
 
Microsoft Cognitive Toolkit (Atlanta Code Camp 2017)
Microsoft Cognitive Toolkit (Atlanta Code Camp 2017)Microsoft Cognitive Toolkit (Atlanta Code Camp 2017)
Microsoft Cognitive Toolkit (Atlanta Code Camp 2017)Mark Tabladillo
 
Machine learning services with SQL Server 2017
Machine learning services with SQL Server 2017Machine learning services with SQL Server 2017
Machine learning services with SQL Server 2017Mark Tabladillo
 
Microsoft Technologies for Data Science 201612
Microsoft Technologies for Data Science 201612Microsoft Technologies for Data Science 201612
Microsoft Technologies for Data Science 201612Mark Tabladillo
 
How Big Companies plan to use Our Big Data 201610
How Big Companies plan to use Our Big Data 201610How Big Companies plan to use Our Big Data 201610
How Big Companies plan to use Our Big Data 201610Mark Tabladillo
 
Georgia Tech Data Science Hackathon September 2016
Georgia Tech Data Science Hackathon September 2016Georgia Tech Data Science Hackathon September 2016
Georgia Tech Data Science Hackathon September 2016Mark Tabladillo
 

Mehr von Mark Tabladillo (20)

How to find low-cost or free data science resources 202006
How to find low-cost or free data science resources 202006How to find low-cost or free data science resources 202006
How to find low-cost or free data science resources 202006
 
Microsoft Build 2020: Data Science Recap
Microsoft Build 2020: Data Science RecapMicrosoft Build 2020: Data Science Recap
Microsoft Build 2020: Data Science Recap
 
201909 Automated ML for Developers
201909 Automated ML for Developers201909 Automated ML for Developers
201909 Automated ML for Developers
 
201908 Overview of Automated ML
201908 Overview of Automated ML201908 Overview of Automated ML
201908 Overview of Automated ML
 
201906 01 Introduction to ML.NET 1.0
201906 01 Introduction to ML.NET 1.0201906 01 Introduction to ML.NET 1.0
201906 01 Introduction to ML.NET 1.0
 
201906 04 Overview of Automated ML June 2019
201906 04 Overview of Automated ML June 2019201906 04 Overview of Automated ML June 2019
201906 04 Overview of Automated ML June 2019
 
201906 03 Introduction to NimbusML
201906 03 Introduction to NimbusML201906 03 Introduction to NimbusML
201906 03 Introduction to NimbusML
 
201906 02 Introduction to AutoML with ML.NET 1.0
201906 02 Introduction to AutoML with ML.NET 1.0201906 02 Introduction to AutoML with ML.NET 1.0
201906 02 Introduction to AutoML with ML.NET 1.0
 
201905 Azure Databricks for Machine Learning
201905 Azure Databricks for Machine Learning201905 Azure Databricks for Machine Learning
201905 Azure Databricks for Machine Learning
 
201905 Azure Certification DP-100: Designing and Implementing a Data Science ...
201905 Azure Certification DP-100: Designing and Implementing a Data Science ...201905 Azure Certification DP-100: Designing and Implementing a Data Science ...
201905 Azure Certification DP-100: Designing and Implementing a Data Science ...
 
Big Data Advanced Analytics on Microsoft Azure 201904
Big Data Advanced Analytics on Microsoft Azure 201904Big Data Advanced Analytics on Microsoft Azure 201904
Big Data Advanced Analytics on Microsoft Azure 201904
 
Managing Enterprise Data Science 201904
Managing Enterprise Data Science 201904Managing Enterprise Data Science 201904
Managing Enterprise Data Science 201904
 
Training of Python scikit-learn models on Azure
Training of Python scikit-learn models on AzureTraining of Python scikit-learn models on Azure
Training of Python scikit-learn models on Azure
 
Big Data Adavnced Analytics on Microsoft Azure
Big Data Adavnced Analytics on Microsoft AzureBig Data Adavnced Analytics on Microsoft Azure
Big Data Adavnced Analytics on Microsoft Azure
 
Advanced Analytics with Power BI 201808
Advanced Analytics with Power BI 201808Advanced Analytics with Power BI 201808
Advanced Analytics with Power BI 201808
 
Microsoft Cognitive Toolkit (Atlanta Code Camp 2017)
Microsoft Cognitive Toolkit (Atlanta Code Camp 2017)Microsoft Cognitive Toolkit (Atlanta Code Camp 2017)
Microsoft Cognitive Toolkit (Atlanta Code Camp 2017)
 
Machine learning services with SQL Server 2017
Machine learning services with SQL Server 2017Machine learning services with SQL Server 2017
Machine learning services with SQL Server 2017
 
Microsoft Technologies for Data Science 201612
Microsoft Technologies for Data Science 201612Microsoft Technologies for Data Science 201612
Microsoft Technologies for Data Science 201612
 
How Big Companies plan to use Our Big Data 201610
How Big Companies plan to use Our Big Data 201610How Big Companies plan to use Our Big Data 201610
How Big Companies plan to use Our Big Data 201610
 
Georgia Tech Data Science Hackathon September 2016
Georgia Tech Data Science Hackathon September 2016Georgia Tech Data Science Hackathon September 2016
Georgia Tech Data Science Hackathon September 2016
 

Kürzlich hochgeladen

Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 

Kürzlich hochgeladen (20)

Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 

Return of the Codes -- SAS', Windows' and Your's

  • 1. R t Return of the Codes: f th C d SAS ®, Windows’® SAS’® Windows ®, and Your’s Your s Mark Tabladillo Ph.D. MarkTab Consulting Associate Faculty, University of Phoenix Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. Microsoft is a registered trademark of Microsoft Corporation in the United States and other countries.
  • 2. Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 3. Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 4. Communicate C i t Better! Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 5. Introduction Applications have an ongoing conversation • Users, Databases, Other Applications Return code represents many of these often numeric messages Event messages d E t describe th general ib the l communication category Error messages are a special case Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 6. Purpose Describe how three innovative messaging sources support robust SAS applications development 1. SAS (the programming language) 2. Windows (the operating system) 3. Yours (customized) Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 7. SAS Windows Who’s Talking? WE! (you and me) ( d ) Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 8. SAS 101: Print a Dataset options pagesize=60 linesize=80 pageno=1 nodate; libname mylib 'permanent-data-library'; permanent data library ; data mylib.internationaltours; infile 'input-file'; input Country $ Nights AirCost LandCost Vendor $; p y g proc print data = mylib.internationaltours; title 'Data Set MYLIB.INTERNATIONALTOURS'; run; Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 9. SAS 101: Print a Dataset SAS 201: How do you know it works? options pagesize=60 linesize=80 pageno=1 nodate; libname mylib 'permanent-data-library'; permanent data library ; data mylib.internationaltours; infile 'input-file'; input Country $ Nights AirCost LandCost Vendor $; p y g proc print data = mylib.internationaltours; title 'Data Set MYLIB.INTERNATIONALTOURS'; run; Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 10. SAS 101: Print a Dataset SAS 201: How do you know it works? SAS 301: What could go wrong? options pagesize=60 linesize=80 pageno=1 nodate; libname mylib 'permanent-data-library'; permanent data library ; data mylib.internationaltours; infile 'input-file'; input Country $ Nights AirCost LandCost Vendor $; p y g proc print data = mylib.internationaltours; title 'Data Set MYLIB.INTERNATIONALTOURS'; run; Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 11. SAS Category One: SAS® C O S S® SAS provides efficient event messaging using seven features: 1. 1 System Options S t O ti 2. Automatic Macro Variables 3. ARM Macros 4. Functions 5. Call MODULE Routine 6. 6 PUT Statement 7. SCL Event Classes Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 12. SAS SAS: S S S System Options O System options are instructions that affect the SAS session Querying system options can be done through dictionary tables Use SCL commands OPTGETC OPTGETN OPTGETC, OPTGETN, OPTSETC, and OPTSETN Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 13. SAS SAS: S S S System Option Examples O DSNFERR – Controls how SAS responds when a SAS dataset is not found ERRORCHECK – controls error handling MPRINT – Displays SAS statements that are generated by macro execution Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 14. SAS SAS: S S Automatic Macro Variables The SAS macro processor creates automatic macro variables Automatic macro variables complement system options by allowing SAS to report current state Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 15. SAS SAS: S S Automatic Macro Variables SYSRC (read and write) – various system- related return codes SYSPROCESSID – the process ID of the current SAS process SYSPROCESSNAME – the process name of the current SAS process Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 16. SAS SAS: S S ARM Macros ARM (Automatic Response Measurement) Macros provide a way to measure the performance of applications as they execute The macros are lightweight and are designed to run outside the DATA step and PROC p statements The ARM API provides an interface to retrieve performance information Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 17. SAS SAS: S S Functions A function performs a computation or system manipulation on arguments and returns a value In addition to base SAS functions, SCL provides other functions which have return codes Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 18. SAS SAS: S S Function Examples SYSRC – returns a system error number SYSGET – returns the value of the specified p operating environment variable SYSTEM – issues an operating system environment command during a SAS session and returns the system return code Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 19. SAS SAS: C S S CALL Module Routine CALL Module “calls the external routine without any return code” CALL Module “calls the external routine without an explicit SAS return code” Allows extended reach in Windows and Unix Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 20. SAS SAS: S S PUT Statement S The PUT statement allows for general reporting to the LOG or any ODS destination Allows for documenting and reporting return codes to users Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 21. SAS SAS: SCL S S SC Event Classes C Events allow for communication among visual and non-visual classes The SCL Exception class provides a framework for throwing exceptions (distinct from regular events) ) Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 22. Windows Category Two: Windows® C ® Windows provides SAS efficient event messaging using four features: 1 SAS S t 1.SAS System O ti Options f Windows for Wi d 2.SAS Automatic Macro Variables for Windows 3.SAS Functions and CALL Routines for Windows 4.Windows System Error Codes Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 23. Windows Windows: S S Features SAS SAS has separate documentation for each operating system SAS running on Windows has extended capabilities for • System options • Automatic macro variables • Functions and CALL routines Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 24. Windows Windows: Windows 32 API S System Error C Codes The CALL module routine can access the Windows 32 API DLLs The full list of Windows error codes can be returned to SAS The gateway can also provide interactive communication with Windows Supported in 64-bit Vista and Server 2008 64 bit Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 25. Yours Category Three: Yours C We can create event messaging systems that emulate what SAS and Windows provide Three distinct outputs 1. Receive no response 2. 2 Receive a response sometimes (incomplete) 3. Always receive a response Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 26. Yours Category Three: Yours Category Description Application Options Similar to SAS system options, application options are variables declared either globally or locally for an application, and allow for return code processing to be controlled from a higher level. The variables could be stored in application datasets, similar to the read-only read only dictionary tables tables. Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 27. Yours Category Three: Yours Category Description Application Macro Variables Similar to SAS automatic macro variables, the th application macro variables ( l b l or li ti i bl (global local) provide the ability to keep the state at a specific p p point. Information stored could be character or text (though macro variables always store information as text). Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 28. Yours Category Three: Yours Category Description Application Macros Similar to SAS ARM Macros, the application can hhave it own macros t monitor and its to it d measure performance. These customized macros could extend the capabilities of ARM macros, providing the application with robust reporting on performance. Developing these macros separately from other macros allows them to be used in future applications. Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 29. Yours Category Three: Yours Category Description Functions Similar to SAS functions, applications can define d fi methods i SCL Th th d in SCL. These methodsth d can provide a return code, and could extend or incorporate what SAS natively p p y provides for return code processing. Encapsulating these methods individually, or as a group (creating a class or classes using SAS/AF) would allow these methods or classes to be copied into future applications. Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 30. Yours Category Three: Yours Category Description CALL Module Similar to calling Windows DLLs, SAS Routine applications running in Windows could call li ti i i Wi d ld ll programmed .NET DLLs. These modules could have return codes and messages helping the application to become more robust. Generically developed DLLs have the advantage of being used across many custom applications. Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 31. Yours Category Three: Yours Category Description Reporting Datasets and Forms Instead of simply using the PUT statement to t send variable values t th l d i bl l to the log, an application could store the information in a dataset. Also, the application could have , pp customized forms for reporting errors, including the option to send those reports as an attachment or the body of an e-mail e-mail. Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 32. Yours Category Three: Yours Category Description Event Classes Create event classes which capture specific return codes as events. Create customized t d t C t t i d SCL classes based on the SCL exception class; alternatively, use a language which ; y, g g can produce a COM interface to work with SAS to provide advanced error capabilities. Use event classes to communicate across components and applications. Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 33. Advice f Reusable C for Code Use binary codes for success or failure y Consider global enumeration storage to allow for named references to return code conditions Use simple, reusable names for macros, functions, and classes Code for the complete set of possible conditions, not only the ones proven through experience Optionally implement reporting to the SAS log, or to an external event log log (database or file) Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 34. Conclusion Described how three innovative messaging sources support robust SAS applications development 1. SAS (the programming language) 2. Windows (the operating system) 3. Your’s (customized) Comprehensive return messaging defines robust applications Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 35. Communicate C i t Better! Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
  • 36. R t Return of the Codes: f th C d SAS ®, Windows’® SAS’® Windows ®, and Your’s Your s Mark Tabladillo Ph.D. MarkTab Consulting Associate Faculty, University of Phoenix Copyright © 2007, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. Microsoft is a registered trademark of Microsoft Corporation in the United States and other countries.