Setting email entries
Option 5 on the Main Menu displays the options to process product options on panel ARMST00A. Options to create and edit email entries are added to this panel. You can specify multiple email distribution entries in the EMAILDST member as follows:
<email name>.CLASS jes2 outputclass
<email name>.SMTP external writer or CSSMTP application address space
<email name>.HELO <domain name of the sending host>
<email name>.MAIL FROM: <must be a valid email address format>
<email name>.RCPT TO1: <must be a valid email address>
<email name>.SUBJECT: <subject line>
<email name>.SMTP external writer or CSSMTP application address space
<email name>.HELO <domain name of the sending host>
<email name>.MAIL FROM: <must be a valid email address format>
<email name>.RCPT TO1: <must be a valid email address>
<email name>.SUBJECT: <subject line>
To create and edit email distribution entries
On the BMC AMI Recovery for Db2 Main Menu, select 5. Product/Email options and press Enter.
The Product Options and Email Options panel is displayed:ARMST00A ============= Product Options and Email Options =======
Command ===>_____________________________________________
Product options data set is ARM.WJLW1214.CNTL
Select Action and press Enter
Product Option File (POF) Action. . . . . _
0. Migrate product options to this product options file
1. Edit product option file with ISPF ________
Optional backup member name ________
2. Validate product option file ________
3. View product option file validation rules
4. Edit product option file template member ARMPOFT
5. Create a product option file via template ________
Email from Batch Programs Action. . . . . _
1. Create email member EMAILDST with ISPF
2. Edit email member EMAILDST with ISPF
Optional backup member name ________
3. Validate email member EMAILDST- To create an email member, select 1. Create email member EMAILDST with ISPF and then press Enter.
- To add the required email entries, select 2. Edit email member EMAILDST with ISPF and then press Enter.
On the panel that opens, define email distribution entries as required. - To validate each option and receive return messages for each error (if any), select 3. Validate email member EMAILDST and then press Enter.
- To save the changes and close the Main Menu, press F3.
Sample email entries in CNTL data set
The following figure shows a sample email entry in the EMAILDST member in the CNTL data set:
/* Slash Asterisk in the first 2 columns indicates the line is a comment
/*
/* The EMAILDST member may contain multiple email distribution
/* entries using Simple Mail Transfer Prtocol (SMTP)
/* Each email entry has a name uo to 8 characters in length
/* Each email entry name plus a dot should precede the email
/* specifications. Up to 9 email recipents may be specified with
/* RCPT TOn: where n is 1-9. The body of the email will be provided
/* by Recovery Manager.
/*
/* email name.CLASS jes2 output class
/* email name.SMTP external writer or CSSMTP application address space
/* email name.HELO domain name of the sending host
/* email name.MAIL FROM:must be a valid email address format
/* email name.RCPT TO1:must be a valid email address
/* email name.SUBJECT:subject line
/*
ARMBGPV.CLASS B
ARMBGPV.SMTP SMTP
ARMBGPV.HELO DB2A.BMC.COM
ARMBGPV.MAIL FROM:ARMBGPV@BMC.COM
ARMBGPV.RCPT TO1:abc_xyz@BMC.COM
ARMBGPV.SUBJECT: THIS IS A MESSAGE FROM ARMBGPV
/*
ENDOFJOB.CLASS B
ENDOFJOB.SMTP SMTP
ENDOFJOB.HELO DB2A.BMC.COM
ENDOFJOB.MAIL FROM:ARMBATCH@BMC.COM
ENDOFJOB.RCPT TO1:abc_xyz@BMC.COM
ENDOFJOB.SUBJECT: RECOVERY MANAGER JOB ENDED
/*
/*
/* The EMAILDST member may contain multiple email distribution
/* entries using Simple Mail Transfer Prtocol (SMTP)
/* Each email entry has a name uo to 8 characters in length
/* Each email entry name plus a dot should precede the email
/* specifications. Up to 9 email recipents may be specified with
/* RCPT TOn: where n is 1-9. The body of the email will be provided
/* by Recovery Manager.
/*
/* email name.CLASS jes2 output class
/* email name.SMTP external writer or CSSMTP application address space
/* email name.HELO domain name of the sending host
/* email name.MAIL FROM:must be a valid email address format
/* email name.RCPT TO1:must be a valid email address
/* email name.SUBJECT:subject line
/*
ARMBGPV.CLASS B
ARMBGPV.SMTP SMTP
ARMBGPV.HELO DB2A.BMC.COM
ARMBGPV.MAIL FROM:ARMBGPV@BMC.COM
ARMBGPV.RCPT TO1:abc_xyz@BMC.COM
ARMBGPV.SUBJECT: THIS IS A MESSAGE FROM ARMBGPV
/*
ENDOFJOB.CLASS B
ENDOFJOB.SMTP SMTP
ENDOFJOB.HELO DB2A.BMC.COM
ENDOFJOB.MAIL FROM:ARMBATCH@BMC.COM
ENDOFJOB.RCPT TO1:abc_xyz@BMC.COM
ENDOFJOB.SUBJECT: RECOVERY MANAGER JOB ENDED
/*
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*