baanguy2
29th January 2007, 21:03
Hi,
I have a problem in a Baan report:
I have created a report and added it to a standard Baan session, as I can not modify the standard Baan session. This report is written to create a ASCII file, which is supposed to have a different file name (depending on the date it is run on) and it will be run in a job.
The first thing i tried was to have the file name generated inside the report script and the predefined report variable spool.fileout will be replaced with the file name, this did not work.(this was in the before.report section)
then the next one i tried was to have the same login to generate the file name in the report (in after.report section) and call a shell program inside the report to rename the file but it did not work (as the file was not there in the directory when the after.report section was executed.
Please suggest if you know of any solutions.
Thank you
I have a problem in a Baan report:
I have created a report and added it to a standard Baan session, as I can not modify the standard Baan session. This report is written to create a ASCII file, which is supposed to have a different file name (depending on the date it is run on) and it will be run in a job.
The first thing i tried was to have the file name generated inside the report script and the predefined report variable spool.fileout will be replaced with the file name, this did not work.(this was in the before.report section)
then the next one i tried was to have the same login to generate the file name in the report (in after.report section) and call a shell program inside the report to rename the file but it did not work (as the file was not there in the directory when the after.report section was executed.
Please suggest if you know of any solutions.
Thank you