Tip of the day: Linux script to see which reports are run during the day

Mike Schwartz mschw at athenet.net
Fri Feb 3 07:08:32 PST 2012


>>       A friend who does most of his own filePro programming is changing
his
>> printer setup.  He asked me if there was some way in filePro to capture
the
>> name of each report that is run during a typical day.  I whipped up this
quick
>> Mike Schwartz

> 
> Another approach is to log each report as it is run from within filepro.
> The system maintained field @fn has the report format name.
> 
> @once::La="Date"<@td<",Time:"<@tm<"File"<@fi<"Report"<@fn<"Who:"<
> @id{"";END
> 
> Richard Kreiss

      I neglected to mention that he has roughly 1,000 report formats on his
system, so I couldn't think of anything that would add a couple of lines
like this to each report format without having to modify all 1,000 formats.
And the software runs separately at 3 different companies, where each
location has modified its own reports, so that would be roughly 3,000
reports that would need to have logging lines added.

     A lot of these reports were written for 1-time use, so he's only
interested in seeing reports that are run on a frequent basis but have not
been modified yet to use his new print queue system. 

Mike   




More information about the Filepro-list mailing list