Data-driven Programming Techniques Using SAS®

Data-driven Programming Techniques Using SAS®

Data-driven techniques are applied to structured and unstructured data for filtering, aggregating, transforming, and calling other programs.

By Kirk Paul Lafler - Python, R, SAS, and SQL Trainer

Date and time

Thursday, May 16 · 1 - 4:30pm CDT

Location

Iowa Department of Education

400 East 14th Street (Room B100) Des Moines, IA 50319

Refund Policy

Contact the organizer to request a refund.
Eventbrite's fee is nonrefundable.

Agenda

Application of SAS® programming techniques to access NLEVELS

Accessing SAS Dictionary tables (or SASHELP Views) content

Determining the names of the tables available with a libref

Determining if a dataset is empty

Determining the number of observations in any dataset

Determining the names and number of character versus numeric variables

Identifying variable attributes

Using the SQL-macro interface for single-value / value-list macro variables

Using DATA step CALL EXECUTE statements

Using metadata as input into a SAS code generator

Applying specific DICTIONARY table and SASHELP view content

Constructing an external control file to define relationships

Using PROC FORMAT with the CNTLIN= option

Using iterative programming constructs

About this event

  • 3 hours 30 minutes

Data-driven programming is a popular programming paradigm where the data, or data structures, control the flow of a program. Data-driven programming techniques can be applied to structured and unstructured data for filtering, aggregating, transforming, and calling other programs. Topics include using SAS® programming techniques to access NLEVELS (for By-group content); accessing SAS Dictionary tables (or SASHELP Views) content; determining the names of the tables available with a libref, if a dataset is empty, the number of observations in any dataset, the names and number of character versus numeric variables that exist in any dataset, and identifying variable attributes; using the SQL-macro interface to create single-value and value-list macro variables; using DATA step CALL EXECUTE statements; using metadata as input into a SAS code generator or a SAS macro to produce the desired results; applying specific DICTIONARY table and SASHELP view content in examples related to the creation of dynamic code; constructing an external control file to define relationships; using PROC FORMAT with the CNTLIN= option; and using iterative programming constructs and processes with PROC SQL and the Macro language to dynamically create data-driven programs.

Intended Audience: All SAS users

Prerequisites: SAS Essentials course or 6-months SAS software experience.

Delivery Method: Instructor-led with code examples

Date and Time: Thursday, May 16, 2024, 1:00pm - 4:30pm CDT

Course Length: 3.5-Hours

Course Material: e-Course Notes (PDF format) and code are provided to Attendees.