We have a requirement for monitoring setup.
Monitoring team says that if we can redirect the output of a command in AS400 to a logifle then they will be able to do the setup the monitoring alert.
I am new to AS400. Could anyone please let us know if there is any sample program which actually redirects the output of a command to a logfile.