O'Reilly logo

The Little SAS® Book for Enterprise Guide® 4.1 by Lora D. Delwiche, Susan J. Slaughter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

11.1. Creating Parameters for Data Values

Parameters allow you to develop projects that are flexible. For example, when you run a query with a filter condition that uses a parameter, a box will appear, prompting you to specify a value for that parameter. The query will be filtered according to the value you enter. This allows you to create one query that can generate many different results.

There are three places you can use parameters in SAS Enterprise Guide: in a query, in a task, and in SAS code. The example in this section creates a parameter that will then be used in a query in section 11.2. Sections 11.3 and 11.4 discuss creating and using a parameter in a task. Section 11.5 shows how to use parameters in SAS code.

To create a parameter, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required