EXITSNDEML - Usage example
In the following example, the spool fileI NVNEW1 from the QSAMPLER library (IBM AFP Examples) is used.
It is assumed that option EXITPGMPRM(*POS) or EXITPGMPRM(*KEY) was used to extract the costumer number from the report. This costumer number serves to determine the costumer's email address in the costumer database. The i-effect®command SNDEMAIL is then used to send the data stream file to the respective costumer. The source file of the following example program as well as the CUSTFILE source file can be found in the i-effect®working library in the QRPGLESRC and QDDSSRC files.
EXITSNDEML---Individual-Programming.pdf