Hi Folks
I've got several FTP scripts that run overnight, and if they fail I'd like to know about it.
A quick search and I found out that all I needed to do was check the log for errors:
Great. I can do that. Only problem is that when I look at the log there are no message numbers. If I do the FTP interactively there are no message numbers. Each statement just starts right in at position 1 with the statement it's going to make.
Is there a setting somewhere that controls this? I'm on 7.1
I've got several FTP scripts that run overnight, and if they fail I'd like to know about it.
A quick search and I found out that all I needed to do was check the log for errors:
It is a straightforward matter to write a program to process this file and display an error message on QSYSOPR if there are any error messages. FTP error messages have numbers that start with a 4 or 5.
Is there a setting somewhere that controls this? I'm on 7.1
Comment