Sponsored White Papers, Webcasts, and Downloads
Additional Resources
- Creating a Local Library
- SAS provides us with the %local statement to insure that macro variables that are created in the macros do not collide with macro variables that might exist outside the macro. However, SAS provides no such utility for SAS datasets. This paper presents a macro that will create a SAS library...
- Tags: SAS Institute, Macro
- White papers 2007-05-14
- SAS Macro Variables and Simple Macro Programs
- SAS macros can be a wonderful extension of the SAS language. This paper introduces SAS users to SAS macro variables and simple macro programs. The SAS programming language has a rich toolbox of features that can offer a lot of power to the user. Using macro variables and macro code...
- Tags: SAS Institute, Macro Variable, SAS Programming Language
- White papers 2005-03-09
- SAS Macro Design Patterns
- The qualities which SAS macros share with object-oriented languages account for the power of macro programming. This paper illustrates some examples of specific design patterns which can be partially or fully implemented with the SAS macro language. The material is intermediate to advanced, and assumes knowledge of macros and macro...
- Tags: Design Pattern, Goal, SAS Institute
- White papers 2006-02-28
- Intermediate and Advanced SAS Macros
- The SAS programming language has a rich toolbox of features that can offer a lot of power to the user. The SAS macro language can be used to generate and alter SAS code. By combining these two languages the user can create some very dynamic systems. Combining these two languages...
- Tags: SAS Institute, SAS Programming Language
- White papers 2006-02-28
- SAS Macro: Symbols of Frustration? - %Let Us Help!: A Guide to Debugging Macros
- This paper is designed both for users who are new to the SAS Macro language and experienced users who are seeking efficient debugging techniques. The paper describes both HOW TO debug a SAS Macro, and some actual bugs that people often trip over when working in the MACRO language. The...
- Tags: SAS Institute
- White papers 2004-04-14
- SAS Macro Programming for Beginners
- Macro programming is generally considered an advanced topic. But, while macros certainly can be challenging, it is also true that the basic concepts are not difficult to learn. This paper is designed for people who know the basics of SAS programming, but know nothing about SAS macro programming. The paper...
- Tags: SAS Institute, Programming, Macro Programming, Development Tools, Software Development, Software/Web Development
- White papers 2004-04-14
- Programmatically Measure SAS Application Performance on Any Computer Platform With the New LOGPARSE SAS Macro
- For years, SAS programmers have manually combed through their SAS logs to gather the performance metrics of their SAS applications. They take pen in hand and dutifully add up the resource usage of the various DATA steps and PROC steps of their SAS programs. Sometimes they enter the performance data...
- Tags: Performance, SAS Institute, Computer
- White papers 2005-03-09
- SAS Macro Version Control
- During the development and maintenance (life-cycle) process of SAS macros, especially while they are already used for production purposes, it is very much recommended to keep a history of changes, additions and bug fixes along with the macro version number. Archiving of the production SAS program code should include the...
- Tags: SAS Institute
- White papers 2007-05-14
- The "Handy-Dandy, Quick-n-Dirty" Automated Contrast Generator - A SAS/IML Macro to Support the GLM, MIXED, and GENMOD Procedures
- Contrasts are an important component of the armamentarium of the statistician. In the SAS/STAT GLM, ANOVA, MIXED, and GENMOD procedures, the contrasts are used to answer specific additional questions. In many cases, it is difficult to define contrasts which are estimable, or correctly formed. A macro which converts a question...
- Tags: SAS Institute, Contrast, Macro
- White papers 2006-02-28
- Complementing SAS With Perl: Updating, Creating, Running, and Checking SAS Code
- This paper describes a way to complement the SAS macro system using Perl. SAS macros can save a considerable amount of typing since they can generate SAS code. Perl can save even more tedious, repetitive typing and clicking since it can generate macro statements. Suppose, for example, that one needs...
- Tags: Perl, SAS Institute
- White papers 2004-04-14
- SAS Macro Design Issues
- This paper takes a look at macro variables, shows how to define and use them in a SAS program, and then considers what distinguishes a good variable from a poor one. In short, the paper takes a look at the parameterization of a SAS program. Next the paper considers what...
- Tags: SAS Institute
- White papers 2002-03-04
- Macro Architecture in Pictures
- Experienced SAS programmers use SAS Macro language all the time. Their combination of relative simplicity and power demonstrate the continued popularity of this language. The qualities which SAS macros share with object-oriented languages account for the power of macro programming. This paper will graphically model and introduce how SAS macros...
- Tags: SAS Institute, Object-oriented, Ooa/Ood/Oop, Software Development, Software/Web Development
- White papers 2005-03-09
- Model Selection in PROC MIXED - A User-Friendly SAS Macro Application
- A user-friendly SAS macro application to perform all possible model selection of fixed effects including quadratic and cross products within a user-specified subset range in the presence of random and repeated measures effects using SAS PROC MIXED is available. This macro application, ALLMIXED2 will complement the model selection option currently...
- Tags: SAS Institute, Macro Application
- White papers 2007-05-14
- Creating Microsoft Excel Pivot Tables From SAS - (Part 2)
- This paper provides several enhancements to a technique that uses Base SAS and Visual Basic Scripting to automate the creation of Excel Pivot Tables from SAS data sets. The earlier paper presented at SUGI 31 consisted of a macro that produced a delimited file from a SAS data set and...
- Tags: SAS Institute, Microsoft Corp., Microsoft Excel
- White papers 2007-05-14
- Array: Construction and Usage of Arrays of Macro Variables
- A common task for an experienced programmer is to recognize a recurring pattern of code and encapsulate that pattern in a routine which simplifies the processing presentation, while still enabling later readers of the program to grasp the complex concepts that have been coded. The SAS software macro language is...
- Tags: SAS Institute
- White papers 2004-04-14
- Extending SAS Data Integration Studio With Java: Custom GUIs and SAS Server Interaction
- This paper introduces the concept of extending the functionality of the SAS Data Integration Studio client application through its Java plugin facility. Making use of this facility gives programmers access to significant features built into the SAS Data Integration Studio API, which enable full interaction with the SAS Metadata and...
- Tags: Java, SAS Institute, Server, GUI, Data Integration
- White papers 2007-05-14
- %htmlForm: An HTML Form and SAS/IntrNet Code Generator
- Developing SAS/IntrNet Dispatcher applications frequently involves writing HTML forms and coding macro programs to use the information that is output. This paper presents a macro program called %htmlForm that helps automate that process. It uses a SAS data set as input to generate a document that contains an HTML form...
- Tags: HTML, SAS Institute
- White papers 2005-03-09
- A Macro for Importing Multiple Excel Worksheets Into SAS Data Sets
- Microsoft Excel is a widely available application and is commonly used to capture and transmit data. These data are often imported to SAS for manipulation and analysis. Many methods exist to import data from Excel to SAS, such as PROC IMPORT, IMPORT WIZARD and ODBC. This paper introduces a macro,...
- Tags: SAS Institute, Microsoft Excel, Microsoft Office, Office Suites, Software
- White papers 2005-03-09
- List Processing - Make Light Work of List Processing in SAS
- In the world of extensive metadata, list processing prevails. A small utility macro has improved applications development source and maintenance where they handle lists. This paper demonstrates techniques. Over a period of 4 years, this macro has been refined into a robust and reliable facility that enables applications to delegate...
- Tags: SAS Institute, Utility Macro
- White papers 2006-02-28
- << Previous
- page 1 of 1
- Next >>