|
Hi Michael
You can set the message logging parameters for the job itself with the
CHGJOB command, but that doesn't affect the FTP log.
The way I would handle it would be to clear the log prior to the FTP being
executed, and then after the FTP has completed analyse the log via a
program
to identify whether or not it needs to be reviewed manually.
I have posted an example CL program on how I would do it at
http://code.midrange.com/index.php?id=7755381b74 which shows what I would
do.
The CL program that runs an FTP script every 30 minutes. The program can
be
shut down cleanly by setting a data area with the value "*SHUTDOWN" which
is
checked before the FTP script is processed. The FTP output log is cleared
down prior to the FTP request and the new log is checked after the FTP
completes and is saved if manual review is required (in which case an
operator is notified).
The job then waits 30 minutes (1800 seconds) before repeating.
All the best
Jonathan
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.