Mailing a spool file isn't as easy as just sending a message. There are several steps that have to be done.
To e-mail a job log you could do this:
DLTF FILE(EMAILDATA)SNDDST TYPE(*DOC)
DSTD('Some subject text')
MSG('Some important message text')
There are also plenty of very reasonably priced packages available that can easily be integrated into any of your processes requiring the e-mailing of spool files. If you are going to be e-mailing a lot of spool files, this would be the way to go. A simple Google search like - email spool files iSeries – will show you many product options.
Dig Deeper on Remote Journaling
Related Q&A from Ken Graap
Find out if log files can be omitted during a save without causing problems in a full restore. Continue Reading
The BRMS Network feature allows a BRMS system to connect to other BRMS systems via a network, and enables a user to consolidate media such as backup ... Continue Reading
The only option to correct damage preventing file journaling is to use the RCLSTG command. Continue Reading