With V5R2 and above, you can use the CHGSPLFA command to set the user defined data of a spool file. 
For example: To set the To email address and the subject line, type:
CHGSPLFA FILE(QSYSPRT) USRDFNDTA('SUBJ:This is a test~MAILTO:[email protected];[email protected]~')
For example: To set only the To email address, type:
CHGSPLFA FILE(QSYSPRT) USRDFNDTA('MAILTO:[email protected];[email protected]~')
Still have questions? We can help. Submit a case to technical support

Last Modified On:
You don't have the appropriate permissions.
No, open a new Support Case