>  I would like to
> set analog up to run automatically each moth but I don't see a way to
> get multiple reports unless I go in and edit analog.cfg for each
> different report.
> Any suggestions? Maybe I am missing something.....
> Thanks.
> 
        you could set up a batch file to run the 3 reports.  You would keep
the common stuff in analog.cfg and then put the specific stuff for each
report into their own config files and ask analog to read them in as well as
analog.cfg.

        I keep all my extra files in a subdir called "cfg" and run a batch
file similar to that below.
        All the specific stuff for each report is in reportname.cfg ,   all
my ARGSEXCLUDE lines are in a separate file so I can easily run with or
without them.

        lastmonth.cfg contains the lines :

        FROM -00-0101
        TO -00-0131

        so that it always picks up just the log entries for last month  (you
can bend the LOGFILE lines so it only reads the correct files too).

        The +C bit just adds a specific command to create separate log files
(which I sometime omit on reruns!)


        Batch file has lines like this:-

        analog +g.\cfg\report1.cfg +g.\cfg\lastmonth.cfg
+g.\cfg\ARGSEXCLUDE.cfg +C"ERRFILE analog-errors1.log"
        analog +g.\cfg\report2.cfg +g.\cfg\lastmonth.cfg
+g.\cfg\ARGSEXCLUDE.cfg +C"ERRFILE analog-errors2.log"
        analog +g.\cfg\report3.cfg +g.\cfg\lastmonth.cfg
+g.\cfg\ARGSEXCLUDE.cfg +C"ERRFILE analog-errors3.log"


        Regards Jamie
+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to