Skip to Main Content
Statistical Programming in SAS
book

Statistical Programming in SAS

by John Bailer
April 2015
Intermediate to advanced content levelIntermediate to advanced
460 pages
14h 45m
English
SAS Institute
Content preview from Statistical Programming in SAS
Chapter 10: Macro Programming 375
10.8 Functions and Routines for Macros
In Display 10.11, %SYSEVALF evaluated the logical comparison &NPTS<1.
%SYSEVALF is a general evaluation function. On the other hand, the %EVAL function
handles integer arithmetic. Many other functions are available for macro programming.
%INDEX finds the position of a string in a source string. %LENGTH returns the length
of an argument and checks for valid arguments. %SCAN displays a particular word in an
argument. %SUBSTR extracts a substring from an argument. In a previous example,
%UPCASE converted an argument to all uppercase. Display 10.17 provides a short
examp ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Elementary Statistics Using SAS

Elementary Statistics Using SAS

Sandra D. Schlotzhauer

Publisher Resources

ISBN: 9781607645047