Purpose
Accumulate Outbound and Inbound GWIA totals into a CSV file
which can be read into Excel and a monthly statistical
graph can be produced.
Overview
The GWIA gateway NLM keeps a running total on its screen, but unless
you use the accounting feature and a third party app to parse the
accounting log files, you can't get a simple chart showing the daily totals.
Also, the counter never resets so you have to remember to grab the
totals every day.
What this script does is save the screen to a temp file every day at
the same time.
Then it parses the file for the OUTBOUND and INBOUND numbers and
appends them to a monthly log in CSV format.
Then on the 1st of the month at 12:01AM, it activates the GWIA screen
and resets the counters by KEYIN statements.
The Task Files
GWIASTAT.TSK
GWIARSET.TSK
GWIASTAT.TSK is the daily task which collects and logs the statistics.
GWIARSET.TSK is the monthly task which resets the GWIA gateway counters.
|