The following statement sets the value of a variable named TIME to the current time:
SET TIME ZTIME
The variable TIME could be used in the heading of a report as follows:
SET RTITLE1 '1 THIS IS A SAMPLE REPORT &ZDATE &TIME'
When the report is printed, the time at the top of each page will be constant throughout the report if you use the &ZTIME variable. Instead each page of the report will show a different time of day.
|
Copyright © 2013 CA.
All rights reserved.
|
|