[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: appending date-time to SPF
> Is there a way to append the date and time to an SPF file so that it
> will not be overwritten by the next SPF file that is generated by the
> same report? If not, is the same sort of thing possible with a .LIS
> file?
I assume you are asking about appending the date/time to the *name* of the
file. You can do this with the "new-report" command. If you execute a
new-report with the new file name before anything is printed to the output
file, the "original" report file will not be created. You can use
$sqr-report (see"SQR Reserved Variables" on page 11 of the SQR v3 manual)
and "date-time" or something like that to generate the proper name.
If you use new-report, both the .spf and .lis file names will be changed.
[Note that you can also use the -f command line option to change the name of
the report files if it is easier to have the OS generate the unique file
names for you rather than have SQR generate them.]
Nathan
----------------------------------------------------------------------------
Nathan Treadway | Ray Ontko & Co. | Software consulting services
nathant@ontko.com | Richmond, IN | http://www.ontko.com/