Below is the log file created by using os-command in progress.
This ftp process is unsuccessful.Is it possible we can decide process status by status code to check log file contents by Progress command. If specific word find in the log file, then progress can return abnormal status by using e-mail. From this example log file, the word 'invalid' is shown that this ftp process is failed. How to read the word 'invalid from this log file.
ftp> ftp> open 22.39.23.144
?Invalid command
ftp> ftpnsds
?Invalid command
ftp> @ftpnsds
Not connected.
ftp> ascii
Not connected.
ftp> append
?Invalid command
ftp> j:\nsdsdta\tgcz001o.dat
?Invalid command
ftp> tgcz001o_00029784.dat
quit
This ftp process is unsuccessful.Is it possible we can decide process status by status code to check log file contents by Progress command. If specific word find in the log file, then progress can return abnormal status by using e-mail. From this example log file, the word 'invalid' is shown that this ftp process is failed. How to read the word 'invalid from this log file.
ftp> ftp> open 22.39.23.144
?Invalid command
ftp> ftpnsds
?Invalid command
ftp> @ftpnsds
Not connected.
ftp> ascii
Not connected.
ftp> append
?Invalid command
ftp> j:\nsdsdta\tgcz001o.dat
?Invalid command
ftp> tgcz001o_00029784.dat
quit