Hi Jonathan,

Have you ever had an error with the FTP?
I get an error on the SNDDST command because it was missing the
distribution description and document description.

This is what I ended up with.

SNDDST TYPE(*LMSG) TOINTNET((ggundermann@xxxxxx)) DSTD('Something') +
LONGMSG('Test Message to myself') DOCD(*DSTD)

Glenn Gundermann
ggundermann@xxxxxx
(647) 272-3295

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 thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.