cchretien
2nd October 2009, 12:51
We are using jobs to print certain reports.
we want to have these report printed on file using ASCII device.
a same report can be printed several time before we use it (job runs on week-enk also)
If we use a fixed name for the file, next job will overwrite date. We appending to file is not a solution since we will then have entire history in one file. is there a possibility to include the date or a sequence number in the file name in jobs?

many thanks for help.

Christian

steveauckly
2nd October 2009, 15:40
You can name it whatever you want using something like this:

if job.process then
spool.fileout = "${BSE}\pathname\filename"
endif