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.5. Using Parameters in SAS Code

The previous sections showed how to create parameters and use them in queries or tasks. This section shows how you can create flexible SAS code by using the same parameters. When you run the SAS code, SAS Enterprise Guide will prompt you for the values of the parameters.

Adding Parameters to SAS Code

Here is a simple SAS program written in a Code window in SAS Enterprise Guide.

This program uses both the data value parameter created in section 11.1 (&HeightCutOff) and the variable name parameter created in section 11.4 (&GroupVar). &HeightCutOff is used in a WHERE statement to select only ...

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