DATE prints the current time and date. This is useful when printing results from an interactive session.
If a variable name is supplied, nothing is printed, and the number of seconds since midnight are stored in the variable. This is useful for timing a group of TSP statements, such as a PROC.
DATE [<scalar variable name>];
DATE; ? print the current date/time, to "time stamp" the output file.
? print the elapsed time required by the procedure MYPROC
DATE SEC0;
MYPROC Y Z;
DATE SEC1;
SET NSEC = SEC1-SEC0;
WRITE (FORMAT="(' MYPROC took ',G12.1,' seconds.')") NSEC;