HOW TO DEVELOP A SAS/AF APPLICATION

Size: px
Start display at page:

Download "HOW TO DEVELOP A SAS/AF APPLICATION"

Transcription

1 PS001 Creating Effective Graphical User Interfaces Using Version 8 SAS/AF Anders Longthorne, National Highway Traffic Safety Administration, Washington, DC ABSTRACT Improving access to an organization s database can often result in large gains in productivity and therefore lead to improved response time to customers. This paper will show how this goal can be achieved using applications developed with SAS/AF software. Applications implemented using SAS/AF can be used by all workers within an organization, including those who do not have SAS programming experience. INTRODUCTION SAS/AF software provides a set of tools that allows for the development of powerful interactive and intuitive applications. The ability to produce applications of this kind can quickly help an organization to improve its productivity and therefore its response time to customers. A developer must have SAS/AF software licensed on his computer in order to start developing the type of applications that will be discussed in this paper. To run SAS/AF applications only requires a licensed copy of Base SAS. There have been many books and papers written on the subject of SAS/AF and therefore this paper will not concentrate on the technical details of SAS/AF. Instead this paper will give details regarding the steps needed to create a basic application. By learning how to create and manipulate a basic application, the door to using SAS/AF will be opened; and with further reading and practice a new user should be able to develop sophisticated solutions to an organization s needs. This paper assumes that the reader has a good knowledge of Base SAS, the SAS Macro Language, the SAS Output Delivery System (ODS), and a basic understanding of object-oriented programming. SAS/AF OVERVIEW SAS/AF software is a type of software that is generally known as object-oriented. Visual Basic, C++ and Java are other types of object-oriented software. Creating applications using object-oriented software is known as object-oriented programming (OOP). The key concept behind OOP programming is that a program is viewed as a collection of independent objects, where the objects have two characteristics: state (data) and behavior (operations that can be performed on the data). SAS/AF objects store their state within their Attributes. Attributes are variables that can be of the following types: Numeric, Character, List, Array and Object. Methods are functions that are used to change an object s state. For a more detailed discussion, please refer to the SAS documentation referenced at the end of this paper. CATALOGS SAS/AF applications are built around a SAS catalog. SAS catalogs are storage locations that are only usable by the SAS system. Catalog entries are stored within a SAS catalog. While there are many types of Catalog entries, this paper is going to concentrate on only two types: Frame entries and their related Screen Component Language (SCL) entries. Applications can be easily developed using just one catalog, however it is also possible to use multiple catalogs. FRAME ENTRY Frame entries are windows within which instances of visual classes (controls or components) are placed. This is where the Graphical User Interface (GUI) for an application is developed. The GUI is usually the only part of an application that an end user will interact with and therefore proper design of a GUI is essential

2 SCL ENTRY SCL entries can either be stand-alone programs or they can be linked to a Frame entry. When linked to a Frame, SCL entries can be used to provide functionality to the visual components of the Frame. HOW TO DEVELOP A SAS/AF APPLICATION There are two ways to develop SAS/AF applications: using interactive development windows or using the Build Procedure. This paper will concentrate on using the interactive windows environment. CREATE A CATALOG 1. First create a new SAS library. 2. Enter the new library via the SAS Explorer window. 3. Select FILE -> NEW -> CATALOG 4. Name the new catalog and then click ok. CREATE A FRAME ENTRY AND ITS ASSOCIATED SCL ENTRY 1. Enter the new catalog via the SAS Explorer window. 2. Select FILE -> NEW -> FRAME 3. A new window will open on the right side of the screen and a third pane, called Components, will be added along side the SAS Explorer and SAS Results window. The new window is the Frame entry. 4. Select FILE -> SAVE AS. Enter a name for the new Frame and click save. 5. Select VIEW -> FRAME SCL. This will open the associated SCL entry for the new Frame. The SCL entry will have the same name as the new Frame but it will be of the SCL entry type. VISUAL COMPONENTS OVERVIEW The following table contains descriptions of some of the more generally useful visual components that are provided with SAS/AF. The visual components described in the table should provide enough functionality to allow a developer to produce effective applications. Visual Class Name Appearance Description Check Box Control Combo Box Control Provides a switch for On/Off, True/False or Yes/No functionality. Provides a drop down list of items from which an end user may select only one. List Box Control Push Button Control Radio Box Control Text Entry Control Text Label Entry Provides a list of items from which an end user may scroll through and select one or more. Provides a push button that can be used to run a process or provide switch functionality that is similar to the Check Box Control. Provides mutually exclusive selection options, so that only one selection can be made at any time. This Class is similar to the Combo Box Control except that all choices are visible. Provides the end user an option to enter text. Provides a text label that is not editable by the end user. These labels can be used to create page titles or to provide help and guidance to the end user

3 DEVELOP A SIMPLE APPLICATION USING A RADIO BOX VISUAL COMPONENT 1. Have the Frame and Components Window open. 2. Click on the Radio Box Control in the components window. Be sure to select from the Components list and not from the Version 6 objects list. 3. A Radio Box Control should appear in the Frame. 4. Click on the Frame and then Select VIEW -> PROPERTIES WINDOW. The Properties dialog window should open. On the left side of the properties window will be an expandable menu for all of the objects currently on the Frame. Expand RadioBox1 to view all of the possible Attributes, Methods and Events for the Radio Box Control Object. RadioBox1 is the default name for the object. This name can be easily changed by setting the object s name attribute. There are many other attributes divided into categories such as Appearance, Behavior, and Data etc. All the visual components described in the above table have very similar attribute lists associated with them. All of these attributes can be either interactively manipulated, using the mouse or keyboard via the properties window, or they can be manipulated from within an SCL program. To discuss and understand the full power of all of these attributes is beyond the scope of this paper. 5. In the properties window select ATTRIBUTES -> DATA. Open the list located in the VALUES column of the ITEMS ATTRIBUTE row. This is where a developer may enter data to be used as selections by an end user. Something similar to the following should be visible: - 3 -

4 6. Select Remove All. Use ADD to populate the list with data. This list now contains all possible selections to be displayed. Click OK and then close the properties window

5 7. Something similar to the following should be visible: 8. In a short time we have developed a very simple Graphical User Interface (GUI). To add functionality to this GUI we will now open the associated SCL entry. Click on the Frame. Select VIEW -> FRAME SCL. Something similar to the following should be visible: - 5 -

6 9. The SCL entry is where SCL code can be written to add functionality to the GUI. SCL is a fully developed and powerful programming language. A full discussion of SCL is beyond the scope of this paper. One very important feature of SCL programs is that they allow for the submission of SAS DATA STEP and SAS PROCEDURE statements to the SAS SYSTEM. This allows SAS/AF to be put to work without a programmer having to be an SCL expert first, although in the long run learning SCL will allow for even more powerful applications. SCL programs can be divided into what are known as Labeled Sections. These labeled sections allow for the development of modular code and for selective processing. The four main labeled sections are described below: The INIT section is executed when the associated application window (Frame) is opened. This can be used to set an application s initial conditions. The MAIN section is executed each time a field (control or component) within an application window (Frame) is modified. The RADIOBOX1 section is executed each time the RADIOBOX1 object is modified (when a selection is made). This section always executes before the MAIN section. Every visual component added to the Frame can have its own Labeled Section. The TERM section is executed when an application window (Frame) is closed. This can be used to close files, tables, clean up old variables etc. 10. Remove all label sections except RADIOBOX1. Within a labeled section it is possible to place what are called submit blocks. Within these submit blocks can be placed SAS DATA STEP and SAS PROC statements. These statements are then submitted to the SAS SYSTEM for execution. For the following example, assume that the available selections on the RADIOBOX1 object are SAS databsets that an end user wishes to run PROC CONTENTS on

7 SAS/AF Version 8 uses what is known as Dot Notation for returning (and setting) the value of an object s attribute. The standard syntax for returning an attributes value is: CurrentValue = ObjectName.AttributeName. If the variable, CurrentValue is not defined then it will be automatically created. When finished with developing an application select BUILD -> COMPILE. This will compile an application and will inform a developer of any problems via the Log window. Between SUBMIT CONTINUE; and ENDSUBMIT; can be placed SAS DATA step and PROC statements. CONTINUE causes these statements to execute immediately. There are options other than CONTINUE. Please see the SAS documentation referenced at the end of this paper. The value of an SCL variable can be passed into submit blocks by placing a single ampersand (&) in front of the variable name. If there are also using Macro variables within an SCL program and there is a name conflict, then use two ampersands (&&) in front of the variable name in order to force the value of the Macro variable to be used instead. 11. Close the Frame after compiling with no errors. Right mouse click on the Frame in the Explorer window and select RUN. The application should open on the right of the screen. Test the functionality of the application and check the Log file for errors. Something similar to the following should be visible: - 7 -

8 Run your application Application should open on the right

9 CONCLUSION The goal with this paper was not only to show the power of SAS/AF but to also show that getting started with SAS/AF need not involve weeks of study. Its intuitive point-and-click development environment is very user friendly and this allows for beginning SAS/AF programmers to see end results quickly. Once started, a developer, with practice and patience, should see satisfying improvements in the level of sophistication of his or her applications. REFERENCES SAS Institute Inc., SAS Component Language: Reference, Version 8, Cary, NC: SAS Institute Inc., 1999 SAS Institute Inc., SAS/AF Software: Class Dictionary, Version 8, Cary, NC: SAS Institute Inc., 1999 SAS Institute Inc., SAS/AF Software Procedure Guide, Version 8, Cary, NC: SAS Institute Inc., 1999 Developing SAS/AF Applications Made Easy, Bernd E. Imken, SUGI28 Getting Started with SAS/AF Software, Steven A. Wilson, SUGI27 SAS/AF: It s Not What It Used to Be!, Soora Wi, SUGI27 CONTACT INFORMATION Anders Longthorne US DOT, NHTSA, NPO-121, Room th St., SW Washington, DC Tel: (202) Fax: (202) anders.longthorne@nhtsa.dot.gov 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. Other brand and product names are registered trademarks or trademarks of their respective companies

SAS/AF FRAME Entries: A Hands-on Introduction

SAS/AF FRAME Entries: A Hands-on Introduction SAS/AF FRAME Entries: A Hands-on Introduction Vincent L. Timbers The Pennsylvania State University, University Park, Pa. ABSTRACT Frame entries in SAS/AF use graphic display devices that enable application

More information

Prevent Pane - Moving from MENU & PROGRAM Entries to FRAME Entries Loretta Golby, ISM Alberta Serge Dupuis, BKD Software Consultants Edmonton, Alberta

Prevent Pane - Moving from MENU & PROGRAM Entries to FRAME Entries Loretta Golby, ISM Alberta Serge Dupuis, BKD Software Consultants Edmonton, Alberta Prevent Pane - Moving from MENU & PROGRAM Entries to FRAME Entries Loretta Golby, ISM Alberta Serge Dupuis, BKD Software Consultants ABSTRACT New releases of SAS software provide greater flexibility for

More information

CHAPTER 7 Using Other SAS Software Products

CHAPTER 7 Using Other SAS Software Products 77 CHAPTER 7 Using Other SAS Software Products Introduction 77 Using SAS DATA Step Features in SCL 78 Statements 78 Functions 79 Variables 79 Numeric Variables 79 Character Variables 79 Expressions 80

More information

Feature PROGRAM Entries FRAME Entries. quickly prototype an'application using the interactive development environment

Feature PROGRAM Entries FRAME Entries. quickly prototype an'application using the interactive development environment Object-Oriented Graphical User Interface (OOGUI) Using FRAME Entries in SAS/AP Software Part I Jeff Cartier, SAS Institute Inc., Cary, NC Bill Powers, SAS Institute Inc., Cary, NC ABSTRACT The FRAME entry

More information

Getting Started With Frame Technology Christopher A. Roper, Qualex Consulting Services, Inc., Hillsville, Va.

Getting Started With Frame Technology Christopher A. Roper, Qualex Consulting Services, Inc., Hillsville, Va. Getting Started With Frame Technology Christopher A. Roper, Qualex Consulting Services, Inc., Hillsville, Va. Introduction Creating SAS/Frame applications allows users to build SAS applications using an

More information

AN INTRODUCTION TO DEVELOPING APPLICATIONS WITH SAS/AF FRAME ENTRIES. Advanced Tutorials. NESUG '96 Proceedings

AN INTRODUCTION TO DEVELOPING APPLICATIONS WITH SAS/AF FRAME ENTRIES. Advanced Tutorials. NESUG '96 Proceedings AN INTRODUCTION TO DEVELOPING APPLICATIONS WITH SAS/AF FRAME ENTRIES Vincent L. Timbers The Pennsylvania State University, University Park, PA Advanced Tutorials ABSTRACT Frame entries in SAS/ AF use graphic

More information

Jennifer Clegg and Carol Rigsbee, SAS Institute Inc., Cary, NC

Jennifer Clegg and Carol Rigsbee, SAS Institute Inc., Cary, NC OLE and the SAS System for Windows Release 6.12 Jennifer Clegg and Carol Rigsbee, SAS Institute Inc., Cary, NC ABSTRACT This paper describes the OLE support within the SAS System for Windows Release 6.12.

More information

Journey to the center of the earth Deep understanding of SAS language processing mechanism Di Chen, SAS Beijing R&D, Beijing, China

Journey to the center of the earth Deep understanding of SAS language processing mechanism Di Chen, SAS Beijing R&D, Beijing, China Journey to the center of the earth Deep understanding of SAS language processing Di Chen, SAS Beijing R&D, Beijing, China ABSTRACT SAS is a highly flexible and extensible programming language, and a rich

More information

Introduction to FRAME Entries in SAS/AF Software John C. Boling, SAS Institute Inc., Cary, NC

Introduction to FRAME Entries in SAS/AF Software John C. Boling, SAS Institute Inc., Cary, NC Introduction to FRAME Entries in SAS/AF Software John C. Boling, SAS Institute Inc., Cary, NC INTRODUCTION SAS/AF software, announced in 1985, is an application facility for building interactive enterprise

More information

An Introduction to SAS/FSP Software Terry Fain, RAND, Santa Monica, California Cyndie Gareleck, RAND, Santa Monica, California

An Introduction to SAS/FSP Software Terry Fain, RAND, Santa Monica, California Cyndie Gareleck, RAND, Santa Monica, California An Introduction to SAS/FSP Software Terry Fain, RAND, Santa Monica, California Cyndie Gareleck, RAND, Santa Monica, California ABSTRACT SAS/FSP is a set of procedures used to perform full-screen interactive

More information

For example, let's say that we have the following functional specification:

For example, let's say that we have the following functional specification: FRAME IT: THE NUTS AND BOLTS OF RAD Marty Brown, CommScope, Inc., Claremont, NC INTRODUCTION The road to finishing a quality application does not have to be a long and confusing one. With the advent of

More information

Chapter 28 Saving and Printing Tables. Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS OUTPUT OBJECTS...

Chapter 28 Saving and Printing Tables. Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS OUTPUT OBJECTS... Chapter 28 Saving and Printing Tables Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS...418 OUTPUT OBJECTS...422 415 Part 2. Introduction 416 Chapter 28 Saving and Printing Tables

More information

A Guided Tour Through the SAS Windowing Environment Casey Cantrell, Clarion Consulting, Los Angeles, CA

A Guided Tour Through the SAS Windowing Environment Casey Cantrell, Clarion Consulting, Los Angeles, CA A Guided Tour Through the SAS Windowing Environment Casey Cantrell, Clarion Consulting, Los Angeles, CA ABSTRACT The SAS system running in the Microsoft Windows environment contains a multitude of tools

More information

An Introduction to SAS/SHARE, By Example

An Introduction to SAS/SHARE, By Example Paper AD01 An Introduction to SAS/SHARE, By Example Larry Altmayer, U.S. Census Bureau, Washington, DC ABSTRACT SAS/SHARE software is a useful tool for allowing several users to access and edit the same

More information

An Example of Using SAS/AF DATA TABLE Class In Reviewing Clinical SAS Data Sets

An Example of Using SAS/AF DATA TABLE Class In Reviewing Clinical SAS Data Sets An Example of Using SAS/AF DATA TABLE Class In Reviewing Clinical SAS Data Sets Irene Zhao, Allergan, Irvine, California Abstract Using SAS/AF as part of the quality assurance process in reviewing SAS

More information

Getting Up to Speed with PROC REPORT Kimberly LeBouton, K.J.L. Computing, Rossmoor, CA

Getting Up to Speed with PROC REPORT Kimberly LeBouton, K.J.L. Computing, Rossmoor, CA SESUG 2012 Paper HW-01 Getting Up to Speed with PROC REPORT Kimberly LeBouton, K.J.L. Computing, Rossmoor, CA ABSTRACT Learning the basics of PROC REPORT can help the new SAS user avoid hours of headaches.

More information

Changes and Enhancements

Changes and Enhancements ix Introduction This section describes the features of SAS Component Language that have been implemented or enhanced since Release 6.12. Information about changes and enhancements that were implemented

More information

Writing SAS/AF Applications that run in both an Interactive and Batch Environment

Writing SAS/AF Applications that run in both an Interactive and Batch Environment Writing SAS/AF Applications that run in both an nteractive and Batch Environment lim Nelson, MOS-H, Motorola, Austin,TX Matthew Grover, JJT Consulting, Austin,TX ABSTRACT Many SAS/AF applications have

More information

SAS Viya 3.3 Administration: External Credentials

SAS Viya 3.3 Administration: External Credentials SAS Viya 3.3 Administration: External Credentials External Credentials: Overview In addition to logon credentials, users on SAS Viya systems might need external credentials for accessing databases and

More information

Statistics, Data Analysis & Econometrics

Statistics, Data Analysis & Econometrics ST009 PROC MI as the Basis for a Macro for the Study of Patterns of Missing Data Carl E. Pierchala, National Highway Traffic Safety Administration, Washington ABSTRACT The study of missing data patterns

More information

No previous knowledge of Java is required for this workshop.

No previous knowledge of Java is required for this workshop. SAS webaf for Java Application Development, a First Sip Mickey Waxman University of Kansas, Lawrence, Kansas Larry Hoyle University of Kansas, Lawrence, Kansas ABSTRACT SAS webaf is an integrated development

More information

Dynamic Projects in SAS Enterprise Guide How to Create and Use Parameters

Dynamic Projects in SAS Enterprise Guide How to Create and Use Parameters Paper HW02 Dynamic Projects in SAS Enterprise Guide How to Create and Use Parameters Susan J. Slaughter, Avocet Solutions, Davis, CA Lora D. Delwiche, University of California, Davis, CA ABSTRACT SAS Enterprise

More information

Introduction. Introduction to SCL. SCL Elements CHAPTER 1

Introduction. Introduction to SCL. SCL Elements CHAPTER 1 3 CHAPTER 1 Introduction Introduction to SCL 3 SCL Elements 3 Entering SCL Code 4 Compiling SCL Programs 4 Compiling Your SCL Program Interactively 4 Compiling Your SCL Program in Batch 5 The SCL Data

More information

Getting Started with SAS/A~ Software Steven A. Wilson, MAJARO lnfosystems, Inc., San Jose CA

Getting Started with SAS/A~ Software Steven A. Wilson, MAJARO lnfosystems, Inc., San Jose CA Getting Started with SAS/A~ Software Steven A. Wilson, MAJARO lnfosystems, Inc., San Jose CA ABSTRACT This workshop will be an introductory guide to the development of interactive computer systems using

More information

SAS Macro. SAS Training Courses. Amadeus Software Ltd

SAS Macro. SAS Training Courses. Amadeus Software Ltd SAS Macro SAS Training Courses By Amadeus Software Ltd AMADEUS SOFTWARE LIMITED SAS TRAINING Amadeus have been delivering SAS Training since 1989 and our aim is to provide you with best quality SAS training

More information

Overview. CHAPTER 2 Using the SAS System and SAS/ ASSIST Software

Overview. CHAPTER 2 Using the SAS System and SAS/ ASSIST Software 11 CHAPTER 2 Using the SAS System and SAS/ ASSIST Software Overview 11 Invoking the SAS System 12 Selecting Items 12 Entering Commands 13 Using Menus 13 Using Function Keys 15 Invoking SAS/ASSIST Software

More information

ABSTRACT MORE THAN SYNTAX ORGANIZE YOUR WORK THE SAS ENTERPRISE GUIDE PROJECT. Paper 50-30

ABSTRACT MORE THAN SYNTAX ORGANIZE YOUR WORK THE SAS ENTERPRISE GUIDE PROJECT. Paper 50-30 Paper 50-30 The New World of SAS : Programming with SAS Enterprise Guide Chris Hemedinger, SAS Institute Inc., Cary, NC Stephen McDaniel, SAS Institute Inc., Cary, NC ABSTRACT SAS Enterprise Guide (with

More information

SAS/Warehouse Administrator Usage and Enhancements Terry Lewis, SAS Institute Inc., Cary, NC

SAS/Warehouse Administrator Usage and Enhancements Terry Lewis, SAS Institute Inc., Cary, NC SAS/Warehouse Administrator Usage and Enhancements Terry Lewis, SAS Institute Inc., Cary, NC ABSTRACT SAS/Warehouse Administrator software makes it easier to build, maintain, and access data warehouses

More information

SAS/FSP 9.2. Procedures Guide

SAS/FSP 9.2. Procedures Guide SAS/FSP 9.2 Procedures Guide The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2008. SAS/FSP 9.2 Procedures Guide. Cary, NC: SAS Institute Inc. SAS/FSP 9.2 Procedures

More information

Working with Macros. Creating a Macro

Working with Macros. Creating a Macro Working with Macros 1 Working with Macros THE BOTTOM LINE A macro is a set of actions saved together that can be performed by issuing a single command. Macros are commonly used in Microsoft Office applications,

More information

Be Your Own Task Master - Adding Custom Tasks to EG Peter Eberhardt, Fernwood Consulting Group Inc. Toronto, ON

Be Your Own Task Master - Adding Custom Tasks to EG Peter Eberhardt, Fernwood Consulting Group Inc. Toronto, ON Paper AP05 Be Your Own Task Master - Adding Custom Tasks to EG Peter Eberhardt, Fernwood Consulting Group Inc. Toronto, ON ABSTRACT In Enterprise Guide, SAS provides a ton of tasks to tickle travels into

More information

SAS Catalogs. Definition. Catalog Names. Parts of a Catalog Name CHAPTER 32

SAS Catalogs. Definition. Catalog Names. Parts of a Catalog Name CHAPTER 32 479 CHAPTER 32 SAS Catalogs Definition 479 Catalog Names 479 Parts of a Catalog Name 479 Accessing Information in Catalogs 480 Tools for Managing Catalogs 480 User Profile Catalog 481 Definition 481 How

More information

SAS Clinical Data Integration Server 2.1

SAS Clinical Data Integration Server 2.1 SAS Clinical Data Integration Server 2.1 User s Guide Preproduction Documentation THIS DOCUMENT IS A PREPRODUCTION DRAFT AND IS PROVIDED BY SAS INSTITUTE INC. ON AN AS IS BASIS WITHOUT WARRANTY OF ANY

More information

An Application Developer s Roadmap for Moving to Version 7 in SAS/AF Steven A. Wilson, MAJARO InfoSystems, Inc., Santa Clara CA

An Application Developer s Roadmap for Moving to Version 7 in SAS/AF Steven A. Wilson, MAJARO InfoSystems, Inc., Santa Clara CA An Application Developer s Roadmap for Moving to Version 7 in SAS/AF Steven A. Wilson, MAJARO InfoSystems, Inc., Santa Clara CA Abstract Development of SAS/AF applications in Version 7 will be much different

More information

Version 6 and Version 7: A Peaceful Co-Existence Steve Beatrous and James Holman, SAS Institute Inc., Cary, NC

Version 6 and Version 7: A Peaceful Co-Existence Steve Beatrous and James Holman, SAS Institute Inc., Cary, NC Version 6 and Version 7: A Peaceful Co-Existence Steve Beatrous and James Holman, SAS Institute Inc., Cary, NC Abstract Version 7 represents a major step forward for SAS Institute and is the first release

More information

Macro Architecture in Pictures Mark Tabladillo PhD, marktab Consulting, Atlanta, GA Associate Faculty, University of Phoenix

Macro Architecture in Pictures Mark Tabladillo PhD, marktab Consulting, Atlanta, GA Associate Faculty, University of Phoenix Paper PS16_05 Macro Architecture in Pictures Mark Tabladillo PhD, marktab Consulting, Atlanta, GA Associate Faculty, University of Phoenix ABSTRACT The qualities which SAS macros share with object-oriented

More information

Beginning Tutorials. PROC FSEDIT NEW=newfilename LIKE=oldfilename; Fig. 4 - Specifying a WHERE Clause in FSEDIT. Data Editing

Beginning Tutorials. PROC FSEDIT NEW=newfilename LIKE=oldfilename; Fig. 4 - Specifying a WHERE Clause in FSEDIT. Data Editing Mouse Clicking Your Way Viewing and Manipulating Data with Version 8 of the SAS System Terry Fain, RAND, Santa Monica, California Cyndie Gareleck, RAND, Santa Monica, California ABSTRACT Version 8 of the

More information

Developing Clinical Data Management Systems using Version 8.1 of SAS/AF Steven A. Wilson, MAJARO InfoSystems, Inc., San Jose CA

Developing Clinical Data Management Systems using Version 8.1 of SAS/AF Steven A. Wilson, MAJARO InfoSystems, Inc., San Jose CA Developing Clinical Data Management Systems using Version 8.1 of SAS/AF Steven A. Wilson, MAJARO InfoSystems, Inc., San Jose CA Abstract The SAS/AF product in Version 8 of the SAS System is a robust realization

More information

SAS Clinical Data Integration 2.4

SAS Clinical Data Integration 2.4 SAS Clinical Data Integration 2.4 User s Guide SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2013. SAS Clinical Data Integration 2.4: User's Guide.

More information

APPENDIX 2 Customizing SAS/ASSIST Software

APPENDIX 2 Customizing SAS/ASSIST Software 241 APPENDIX 2 Customizing SAS/ASSIST Software Introduction 241 Setting User Profile Options 241 Creating an Alternate Menu Bar 243 Introduction This appendix describes how you can customize your SAS/ASSIST

More information

David S. Septoff Fidia Pharmaceutical Corporation

David S. Septoff Fidia Pharmaceutical Corporation UNLIMITING A LIMITED MACRO ENVIRONMENT David S. Septoff Fidia Pharmaceutical Corporation ABSTRACT The full Macro facility provides SAS users with an extremely powerful programming tool. It allows for conditional

More information

Paper ###-YYYY. SAS Enterprise Guide: A Revolutionary Tool! Jennifer First, Systems Seminar Consultants, Madison, WI

Paper ###-YYYY. SAS Enterprise Guide: A Revolutionary Tool! Jennifer First, Systems Seminar Consultants, Madison, WI Paper ###-YYYY SAS Enterprise Guide: A Revolutionary Tool! Jennifer First, Systems Seminar Consultants, Madison, WI ABSTRACT Whether you are a novice or a pro with SAS, Enterprise Guide has something for

More information

Syntax Conventions for SAS Programming Languages

Syntax Conventions for SAS Programming Languages Syntax Conventions for SAS Programming Languages SAS Syntax Components Keywords A keyword is one or more literal name components of a language element. Keywords are uppercase, and in reference documentation,

More information

Both Data Form and Data Table share many features.

Both Data Form and Data Table share many features. AN INTRODUCTORY OVERVlEW OF THE DATA FORM AND DATA TABLE OBJECTS IN SAS/AF FRAME ENTRIES Ann Caq>enter Rockett, SAS Institute Inc., Cary, NC Abstract The Data Form and Data Table objects in SAS/AF FRAME

More information

SAS Clinical Data Integration 2.6

SAS Clinical Data Integration 2.6 SAS Clinical Data Integration 2.6 User s Guide SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2015. SAS Clinical Data Integration 2.6: User's Guide.

More information

Beginning Tutorials. Introduction to SAS/FSP in Version 8 Terry Fain, RAND, Santa Monica, California Cyndie Gareleck, RAND, Santa Monica, California

Beginning Tutorials. Introduction to SAS/FSP in Version 8 Terry Fain, RAND, Santa Monica, California Cyndie Gareleck, RAND, Santa Monica, California Introduction to SAS/FSP in Version 8 Terry Fain, RAND, Santa Monica, California Cyndie Gareleck, RAND, Santa Monica, California ABSTRACT SAS/FSP is a set of procedures used to perform full-screen interactive

More information

CATALOGER: An Application Development Tool to View, Compare, and Document SAS Catalogs and Data Files

CATALOGER: An Application Development Tool to View, Compare, and Document SAS Catalogs and Data Files CATALOGER: An Application Development Tool to View, Compare, and Document SAS Catalogs and Data Files Christopher A. Roper, Qualex Consulting Services, Inc., Fairfax, Va. Gina M. Thomas, Qualex Consulting

More information

A SAS/AF Application for Linking Demographic & Laboratory Data For Participants in Clinical & Epidemiologic Research Studies

A SAS/AF Application for Linking Demographic & Laboratory Data For Participants in Clinical & Epidemiologic Research Studies Paper 208 A SAS/AF Application for Linking Demographic & Laboratory Data For Participants in Clinical & Epidemiologic Research Studies Authors: Emily A. Mixon; Karen B. Fowler, University of Alabama at

More information

Océ DS10. Operator s manual

Océ DS10. Operator s manual Océ DS10 Operator s manual Océ-Technologies B.V. Trademarks Products in this manual are referred to by their trade names. In most, if not all cases, these designations are claimed as trademarks or registered

More information

SAS Factory Miner 14.2: User s Guide

SAS Factory Miner 14.2: User s Guide SAS Factory Miner 14.2: User s Guide SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2016. SAS Factory Miner 14.2: User s Guide. Cary, NC: SAS Institute

More information

Going Under the Hood: How Does the Macro Processor Really Work?

Going Under the Hood: How Does the Macro Processor Really Work? Going Under the Hood: How Does the Really Work? ABSTRACT Lisa Lyons, PPD, Inc Hamilton, NJ Did you ever wonder what really goes on behind the scenes of the macro processor, or how it works with other parts

More information

Macro Basics. Introduction. Defining and Using Macro Variables. Defining and Using Macros. Macro Parameters. Part 1. Chapter 1. Chapter 2.

Macro Basics. Introduction. Defining and Using Macro Variables. Defining and Using Macros. Macro Parameters. Part 1. Chapter 1. Chapter 2. Part 1 Macro Basics Chapter 1 Chapter 2 Chapter 3 Chapter 4 Introduction Defining and Using Macro Variables Defining and Using Macros Macro Parameters 2 Carpenter s Complete Guide to the SAS Macro Language

More information

CHAPTER 7 Examples of Combining Compute Services and Data Transfer Services

CHAPTER 7 Examples of Combining Compute Services and Data Transfer Services 55 CHAPTER 7 Examples of Combining Compute Services and Data Transfer Services Introduction 55 Example 1. Compute Services and Data Transfer Services Combined: Local and Remote Processing 56 Purpose 56

More information

WHAT ARE SASHELP VIEWS?

WHAT ARE SASHELP VIEWS? Paper PN13 There and Back Again: Navigating between a SASHELP View and the Real World Anita Rocha, Center for Studies in Demography and Ecology University of Washington, Seattle, WA ABSTRACT A real strength

More information

Introduction. LOCK Statement. CHAPTER 11 The LOCK Statement and the LOCK Command

Introduction. LOCK Statement. CHAPTER 11 The LOCK Statement and the LOCK Command 113 CHAPTER 11 The LOCK Statement and the LOCK Command Introduction 113 LOCK Statement 113 Syntax 114 Examples 114 LOCK Command 115 Syntax 115 Examples 115 Introduction The LOCK statement enables you to

More information

Data Manipulation with SQL Mara Werner, HHS/OIG, Chicago, IL

Data Manipulation with SQL Mara Werner, HHS/OIG, Chicago, IL Paper TS05-2011 Data Manipulation with SQL Mara Werner, HHS/OIG, Chicago, IL Abstract SQL was developed to pull together information from several different data tables - use this to your advantage as you

More information

Introduction. CHAPTER 3 Working in the SAS Windowing Environment

Introduction. CHAPTER 3 Working in the SAS Windowing Environment 57 CHAPTER 3 Working in the SAS Windowing Environment Introduction 57 Using Function Keys 58 Using the SAS ToolBox 60 Using the Command Window 60 Using the Toolbar 61 Using the Tool Icons 61 Opening Files

More information

ABSTRACT INTRODUCTION THE ODS TAGSET FACILITY

ABSTRACT INTRODUCTION THE ODS TAGSET FACILITY Graphs in Flash Using the Graph Template Language Himesh Patel, SAS Institute Inc., Cary, NC David Kelley, SAS Institute Inc., Cary, NC Dan Heath, SAS Institute Inc., Cary, NC ABSTRACT The Graph Template

More information

Files Arriving at an Inconvenient Time? Let SAS Process Your Files with FILEEXIST While You Sleep

Files Arriving at an Inconvenient Time? Let SAS Process Your Files with FILEEXIST While You Sleep Files Arriving at an Inconvenient Time? Let SAS Process Your Files with FILEEXIST While You Sleep Educational Testing Service SAS and all other SAS Institute Inc. product or service names are registered

More information

SAS. Information Map Studio 3.1: Creating Your First Information Map

SAS. Information Map Studio 3.1: Creating Your First Information Map SAS Information Map Studio 3.1: Creating Your First Information Map The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2006. SAS Information Map Studio 3.1: Creating Your

More information

External Files. Definition CHAPTER 38

External Files. Definition CHAPTER 38 525 CHAPTER 38 External Files Definition 525 Referencing External Files Directly 526 Referencing External Files Indirectly 526 Referencing Many Files Efficiently 527 Referencing External Files with Other

More information

SAS. IT Service Level Management 2.1: Migration Documentation

SAS. IT Service Level Management 2.1: Migration Documentation SAS IT Service Level Management 2.1: Migration Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2005. SAS IT Service Level Management 2.1: Migration Documentation.

More information

Chapter 28 Command Reference. Chapter Table of Contents TSVIEW COMMAND FORECAST COMMAND

Chapter 28 Command Reference. Chapter Table of Contents TSVIEW COMMAND FORECAST COMMAND Chapter 28 Command Reference Chapter Table of Contents TSVIEW COMMAND...1353 FORECAST COMMAND...1353 1351 Part 3. General Information 1352 Chapter 28 Command Reference TSVIEW command The TSVIEW command

More information

Using SAS/SHARE More Efficiently

Using SAS/SHARE More Efficiently Using More Efficiently by Philip R Holland, Holland Numerics Ltd, UK Abstract is a very powerful product which allow concurrent access to SAS Datasets for reading and updating. However, if not used with

More information

The OLAPCONTENTS Procedure Shine the light onto your OLAP Cubes Jerry Copperthwaite, SAS Institute, Cary, NC

The OLAPCONTENTS Procedure Shine the light onto your OLAP Cubes Jerry Copperthwaite, SAS Institute, Cary, NC The OLAPCONTENTS Procedure Shine the light onto your OLAP Cubes Jerry Copperthwaite, SAS Institute, Cary, NC Introduction Prior to SAS 9.4, seeing the layout of your OLAP cube, its dimensions, hierarchies,

More information

A Practical Introduction to SAS Data Integration Studio

A Practical Introduction to SAS Data Integration Studio ABSTRACT A Practical Introduction to SAS Data Integration Studio Erik Larsen, Independent Consultant, Charleston, SC Frank Ferriola, Financial Risk Group, Cary, NC A useful and often overlooked tool which

More information

Designing Web Applications: Lessons from SAS User Interface Analysts Todd Barlow, SAS Institute Inc., Cary, NC

Designing Web Applications: Lessons from SAS User Interface Analysts Todd Barlow, SAS Institute Inc., Cary, NC Designing Web Applications: Lessons from SAS User Interface Analysts Todd Barlow, SAS Institute Inc., Cary, NC ABSTRACT Web application user interfaces combine aspects of non-web GUI design and Web site

More information

A Simple SAS/AF Program To Manage SAS/CONNECT Sessions David D. Chapman, U.S. Bureau of the Census

A Simple SAS/AF Program To Manage SAS/CONNECT Sessions David D. Chapman, U.S. Bureau of the Census Paper 100 A Simple SAS/AF Program To Manage SAS/CONNECT Sessions David D. Chapman, U.S. Bureau of the Census ABSTRACT The Census Bureau is a large organization with a varied and changing computing environment

More information

Using OLE in SAS/AF Software

Using OLE in SAS/AF Software 187 CHAPTER 9 Using OLE in SAS/AF Software About OLE 188 SAS/AF Catalog Compatibility 188 Inserting an OLE Object in a FRAME Entry 188 Inserting an OLE Object 189 Pasting an OLE Object from the Clipboard

More information

SAS/Warehouse Metadata API. Reference Second Edition

SAS/Warehouse Metadata API. Reference Second Edition SAS/Warehouse Administrator 2.3 Metadata API Reference Second Edition The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. SAS/Warehouse Administrator 2.3 Metadata

More information

Chapter 3 Managing Results in Projects. Chapter Table of Contents

Chapter 3 Managing Results in Projects. Chapter Table of Contents Chapter 3 Managing Results in Projects Chapter Table of Contents Introduction... 55 Managing Projects... 55 CreatingaProject... 55 SavingaProject... 56 SavingaProjectUnderAnotherName... 57 RenamingaFolder...

More information

Photos with Text Reports on the Same SAS/AF Screen

Photos with Text Reports on the Same SAS/AF Screen Photos with Text Reports on the Same SAS/AF Screen Michael Shreve, American Honda Motor Company, Torrance, California Abstract The day of the digital media has arrived! Our field reps are armed with digital

More information

ODS Meets SAS/IntrNet

ODS Meets SAS/IntrNet Paper 9-27 ODS Meets SAS/IntrNet Susan J. Slaughter, Avocet Solutions, Davis, CA Sy Truong, Meta-Xceed, Inc, Fremont, CA Lora D. Delwiche, University of California, Davis Abstract The SAS System gives

More information

SAS Infrastructure for Risk Management 3.4: User s Guide

SAS Infrastructure for Risk Management 3.4: User s Guide SAS Infrastructure for Risk Management 3.4: User s Guide SAS Documentation March 2, 2018 The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2017. SAS Infrastructure for

More information

Multi-Sponsor Environment. SAS Clinical Trial Data Transparency User Guide

Multi-Sponsor Environment. SAS Clinical Trial Data Transparency User Guide Multi-Sponsor Environment SAS Clinical Trial Data Transparency User Guide Version 6.0 01 December 2017 Contents Contents 1 Overview...1 2 Setting up Your Account...3 2.1 Completing the Initial Email and

More information

SAS RDBMS! A GUI Approach to Data Entry Using SAS/AF Enforced With Relational Model Integrity Constraints from ORACLE

SAS RDBMS! A GUI Approach to Data Entry Using SAS/AF Enforced With Relational Model Integrity Constraints from ORACLE Paper 5 SAS RDBMS! A GUI Approach to Data Entry Using SAS/AF Enforced With Relational Model Integrity Constraints from ORACLE Annie Guo, Ischemia Research and Education Foundation, San Francisco, California

More information

APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software. Each of these steps can be executed independently.

APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software. Each of these steps can be executed independently. 255 APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software Introduction 255 Generating a QMF Export Procedure 255 Exporting Queries from QMF 257 Importing QMF Queries into Query and Reporting 257 Alternate

More information

Xprint V8.0. Graphical User Interface

Xprint V8.0. Graphical User Interface Xprint V8.0 Graphical User Interface Edition September 2009 Copyright and Trademarks Copyright Océ Software Laboratories Namur S.A. 2009 All rights reserved. Delivery subject to availability; right of

More information

SAS Data Libraries. Definition CHAPTER 26

SAS Data Libraries. Definition CHAPTER 26 385 CHAPTER 26 SAS Data Libraries Definition 385 Library Engines 387 Library Names 388 Physical Names and Logical Names (Librefs) 388 Assigning Librefs 388 Associating and Clearing Logical Names (Librefs)

More information

README. SAS Download Manager. Overview. Using the SAS Download Manager

README. SAS Download Manager. Overview. Using the SAS Download Manager README Overview SAS Download Manager This document describes executing and using the SAS Download Manager on all hosts except z/os. The information regarding z/os and the SAS Download Manager is available

More information

Introduction to the SAS Macro Facility

Introduction to the SAS Macro Facility Introduction to the SAS Macro Facility Uses for SAS Macros The macro language allows for programs that are dynamic capable of selfmodification. The major components of the macro language include: Macro

More information

Can I have the menu please?

Can I have the menu please? Can I have the menu please? Renee Beekwilder - PW Consulting Introduction It is vital for users to work with a system that is easy to use and understand and that requires as little training as possible.

More information

Using Graph-N-Go With ODS to Easily Present Your Data and Web-Enable Your Graphs Curtis A. Smith, Defense Contract Audit Agency, La Mirada, CA

Using Graph-N-Go With ODS to Easily Present Your Data and Web-Enable Your Graphs Curtis A. Smith, Defense Contract Audit Agency, La Mirada, CA Paper 160-26 Using Graph-N-Go With ODS to Easily Present Your Data and Web-Enable Your Graphs Curtis A. Smith, Defense Contract Audit Agency, La Mirada, CA ABSTRACT Visualizing and presenting data effectively

More information

Chapter11 practice file folder. For more information, see Download the practice files in this book s Introduction.

Chapter11 practice file folder. For more information, see Download the practice files in this book s Introduction. Make databases user friendly 11 IN THIS CHAPTER, YOU WILL LEARN HOW TO Design navigation forms. Create custom categories. Control which features are available. A Microsoft Access 2013 database can be a

More information

Creating and Executing Stored Compiled DATA Step Programs

Creating and Executing Stored Compiled DATA Step Programs 465 CHAPTER 30 Creating and Executing Stored Compiled DATA Step Programs Definition 465 Uses for Stored Compiled DATA Step Programs 465 Restrictions and Requirements 466 How SAS Processes Stored Compiled

More information

FSEDIT Procedure Windows

FSEDIT Procedure Windows 25 CHAPTER 4 FSEDIT Procedure Windows Overview 26 Viewing and Editing Observations 26 How the Control Level Affects Editing 27 Scrolling 28 Adding Observations 28 Entering and Editing Variable Values 28

More information

The GTESTIT Procedure

The GTESTIT Procedure 967 CHAPTER 28 The GTESTIT Procedure Overview 967 About the Pictures 968 About the LOG 971 Procedure Syntax 972 PROC GTESTIT Statement 972 Examples 973 Example 1: Testing a GOPTIONS Statement 973 Overview

More information

Storing and Reusing Macros

Storing and Reusing Macros 101 CHAPTER 9 Storing and Reusing Macros Introduction 101 Saving Macros in an Autocall Library 102 Using Directories as Autocall Libraries 102 Using SAS Catalogs as Autocall Libraries 103 Calling an Autocall

More information

SAS/IntrNet 9.2. Xplore Sample Web Application. SAS Documentation

SAS/IntrNet 9.2. Xplore Sample Web Application. SAS Documentation SAS/IntrNet 9.2 Xplore Sample Web Application SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2008. SAS/IntrNet 9.2: Xplore Sample Web Application.

More information

How Managers and Executives Can Leverage SAS Enterprise Guide

How Managers and Executives Can Leverage SAS Enterprise Guide Paper 8820-2016 How Managers and Executives Can Leverage SAS Enterprise Guide ABSTRACT Steven First and Jennifer First-Kluge, Systems Seminar Consultants, Inc. SAS Enterprise Guide is an extremely valuable

More information

WPS Workbench. user guide. "To help guide you through using the WPS user interface (Workbench) to create, edit and run programs"

WPS Workbench. user guide. To help guide you through using the WPS user interface (Workbench) to create, edit and run programs WPS Workbench user guide "To help guide you through using the WPS user interface (Workbench) to create, edit and run programs" Version: 3.1.7 Copyright 2002-2018 World Programming Limited www.worldprogramming.com

More information

Security Systems. Security Technologies Database RUTGERS PUBLIC SAFETY. November 16, 2007 Volume 1, Issue 1. Procedures for Database Utilization

Security Systems. Security Technologies Database RUTGERS PUBLIC SAFETY. November 16, 2007 Volume 1, Issue 1. Procedures for Database Utilization Security Systems Security Technologies Database November 16, 2007 Volume 1, Issue 1 RUTGERS PUBLIC SAFETY Procedures for Database Utilization Table of Contents University Consumer Procedures... 1-9 Signing

More information

JDMS - A Java Based Alternative to Motif DMS Windows Susanna Wallenberger, Janice Replogle, SAS Institute Inc., Cary NC

JDMS - A Java Based Alternative to Motif DMS Windows Susanna Wallenberger, Janice Replogle, SAS Institute Inc., Cary NC JDMS - A Java Based Alternative to Motif DMS Windows Susanna Wallenberger, Janice Replogle, SAS Institute Inc., Cary NC ABSTRACT JDMS harnesses the power of a SAS using Java technologies. JDMS is a Java

More information

\WSS95. Applications Development. Managing Longitudinal Panel Surveys Using Interactive Applications Created by SAS!Af and SASJFsp with SCL

\WSS95. Applications Development. Managing Longitudinal Panel Surveys Using Interactive Applications Created by SAS!Af and SASJFsp with SCL Managing Longitudinal Panel Surveys Using Interactive Applications Created by SAS!Af and SASJFsp with SCL Miriam Cistemas, Technology Assessment Group, San Francisco, California ABSTRACT Social science

More information

Essential ODS Techniques for Creating Reports in PDF Patrick Thornton, SRI International, Menlo Park, CA

Essential ODS Techniques for Creating Reports in PDF Patrick Thornton, SRI International, Menlo Park, CA Thornton, S. P. (2006). Essential ODS techniques for creating reports in PDF. Paper presented at the Fourteenth Annual Western Users of the SAS Software Conference, Irvine, CA. Essential ODS Techniques

More information

Reading and Writing Data from Microsoft Excel/Word Using DDE

Reading and Writing Data from Microsoft Excel/Word Using DDE Reading and Writing Data from Microsoft Excel/Word Using DDE The DDE Triplet is then incorporated into a Filename statement of the following form: FILENAME fileref DDE 'DDE-Triplet' 'CLIPBOARD' ;

More information

Designing Accessible Help Systems

Designing Accessible Help Systems Designing Accessible Help Systems Cathy Brinsfield, Meridian Software, Inc. ABSTRACT SAS GUI applications can benefit greatly from well-designed, integrated help systems. This poster uses WinHelp to show

More information

Improving Your Relationship with SAS Enterprise Guide Jennifer Bjurstrom, SAS Institute Inc.

Improving Your Relationship with SAS Enterprise Guide Jennifer Bjurstrom, SAS Institute Inc. ABSTRACT Paper BI06-2013 Improving Your Relationship with SAS Enterprise Guide Jennifer Bjurstrom, SAS Institute Inc. SAS Enterprise Guide has proven to be a very beneficial tool for both novice and experienced

More information

The NESTED Procedure (Chapter)

The NESTED Procedure (Chapter) SAS/STAT 9.3 User s Guide The NESTED Procedure (Chapter) SAS Documentation This document is an individual chapter from SAS/STAT 9.3 User s Guide. The correct bibliographic citation for the complete manual

More information

SAS/ASSIST Software Setup

SAS/ASSIST Software Setup 173 APPENDIX 3 SAS/ASSIST Software Setup Appendix Overview 173 Setting Up Graphics Devices 173 Setting Up Remote Connect Configurations 175 Adding a SAS/ASSIST Button to Your Toolbox 176 Setting Up HTML

More information