CA TPX has predefined variables that you can use to define headings for your reports. You can define up to nine heading lines to be printed at the top of each page of the report. The heading variables are named RTITLE1 through RTITLE9. RTITLE1 is printed at the top of the page, RTITLE2 on the next line, and so on. You use the SET statement to define these variables. For a description of the SET command, see Set Values for Variables. The character following the first single quote must be an ASA printer control character. For example, the following SET statement assigns a value to the heading variable RTITLE1:
SET RTITLE1 '1 SAMPLE REPORT &ZDATE Page - &RPAGE#'
The RTITLE variables can contain strings and/or variables. When the value of the RTITLE variable is resolved, the variable name is replaced with the value of that variable. For a list of the variables that you can use in your report headings, see the appendix Variables.
Note: If you do not define a heading, CA TPX uses the default heading. The default heading prints the date, time, and page number at the top of each page.
You set the report title variables in the control record before the REPORT statement. When you set the report title variables, the values remain in effect until you redefine them or restart the batch job.
|
Copyright © 2013 CA.
All rights reserved.
|
|