Is there a way, using the SPOOL command, to assign the system date to a file name.

For example, instead of SPOOL c:\data\ord.dat, I want to spool to a file named: ord.20031106083042 (where the extension is YYYYMMDDHHMMSS)?