Q: How can I get the system date into SQR when not running the report against a database?
A: Do the following (unix example):
---------------------------- Example code starts here ------------------------ call system using 'date > date.out' #status open 'date.out' as 1 for-reading record=80 read 1 into $date:80 print $date (,70) close 1 call system using 'rm date.out' #status ---------------------------- Example code ends here ---------------------------