|
June 2002 Get the most out of
your Robelle tools Suprtool
Exception Reporting This idea can be used
in a month-end job that prints exception reports. When Suprtool completes a task such as that shown above, it also sets a variable named SUPRTOOLFULLCOUNT to the number of output records. If this value is 0, then no exceptions were found and the report can be discarded. If this value is greater than zero, then someone should review the results. If exceptions are found, you could just not delete the spoolfile: !if suprtoolfullcount
<= 0 then Or you could handle
exceptions in a more creative way, but e-mailing the exception report
to the person in charge. To find out how to accomplish this, read our
application note on remote database admin:
robelle.com/tips/remote-dba.html. Financial transactions are often processed in batches. Between jobs aborting, program bugs, and less-than-careful data fixes by MIS staff, these batches can get out-of-balance. Using the Total command can quickly verify that all transactions net to zero. base fms.gl,5,reader
{MPE, on HP-UX use open ..} By default the results of the Total command are displayed on the screen ($STDLIST), but can be appended to the output file. To do, this you need to turn Set Squeeze Off and add a new Total command as follows: total $file filename,append {MPE only} Up to 15 fields can be
totaled in each pass.
Copyright The 3000 NewsWire. All rights reserved. |