![]() Chapter Contents |
![]() Previous |
![]() Next |
| TITLE |
| Valid: | anywhere |
| Category: | Output Control |
| Syntax | |
| Without Arguments | |
| Arguments | |
| Details | |
| In a DATA Step or PROC Step | |
| Customizing Titles in a PROC step | |
| In a PROC step | |
| Comparisons | |
| Examples | |
| See Also | |
Syntax |
| TITLE <n> <'text' | "text">; |
Using TITLE without arguments cancels all existing titles.
| Arguments |
| Details |
A TITLE statement takes effect when the step or RUN
group with which it is associated executes. Once you specify a title for
a line, it is used for all subsequent output until you cancel the title or
define another title for that line. A TITLE statement for a given line cancels
the previous TITLE statement for that line and for all lines with larger n numbers.
Operating Environment Information:
| Example: | #BYVAL2 specifies the second variable in the BY statement. |
| Example: | #BYVAL(YEAR) specifies the BY variable, YEAR. |
| Tip: | Variable-name is not case sensitive. |
| Example: | #BYVAR2 specifies the second variable in the BY statement. |
| Example: | #BYVAR(SITES) specifies the BY variable SITES. |
| Tip: | Variable-name is not case sensitive. |
| Tip: | #BYLINE produces output that contains a BY line at the top of the page unless you suppress it by using NOBYLINE in an OPTIONS statement. |
| See Also: | For more information on NOBYLINE, see BYLINE. |
Follow these rules when you use #BYVAR, #BYVAL, and #BYLINE in the TITLE statement of a PROC step:
| Comparisons |
You can also create titles with the TITLES window.
| Examples |
titlen;
title 'Quarterly Sales for #byval(site)';
title 'Annual Costs for #byvar2';
title 'Data Group #byline';
| See Also |
Statement:
| |||
System
Option:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.