We have batch jobs that create numerous reports and have multiple steps in the job to selectively send different reports to different sets of email recipients.
Is there any way we can point to a MAILBOOK member from within the job JCL at the job step level?
Here is an example:
//OUT1 OUTPUT ADDRESS=('MAILBOOK=xxxxxxx')
You can use this method to pass any of the other email parameters. Here is another example:
//EMAIL OUTPUT ADDRESS=('TO=email-address,',
// 'SUBJECT=&FNO - &FNM',
// 'FILENAME=&FNM.PDF',
// 'MSG=THIS IS A TEST MESSAGE.')