I have these sequel statements to download a physical file to excel, I need to attach system time to the end of the file name to make it unique. File name is FILEA and time is &TIME. Could some one show me how to attach &time to FILEA. Thanks.
SEQUEL/EXECUTE SQL('SELECT * FROM QTEMP/FILEA') +
PCFMT(*XLS) TOSTMF(FILEA.XLS) +
REPLACE(*YES)
SEQUEL/EXECUTE SQL('SELECT * FROM QTEMP/FILEA') +
PCFMT(*XLS) TOSTMF(FILEA.XLS) +
REPLACE(*YES)



Comment