Please enable JavaScript to view this site.
The main parameters in your Email Exit Program cater for addressing your output to a single destination. It is possible to include up to 19 additional destinations by writing to a Temporary Address file in QTEMP called @OUTDEA.
We provide a sample source program called GETMULTEML which you will find in source file QUSRTOOLLE in library CPPD - from v6.2.22.
The file @OUTDEA is not externally defined but is structured as follows:
| Field Name | From Pos | To Pos | Length | Description | 
| @OEType | 1 | 3 | 3 | Recipient type - This holds the type of recipient and can be one of the following: TO CC BCC | 
| @OEAddr | 4 | 259 | 256 | Recipient email - The email address for the recipient | 
| @OEName | 260 | 309 | 50 | Recipient name - The name for the recipient | 
Example code definition
*
F@OUTDEA O F 309 DISK
*
* @OUTDEA output email address.
D @DEA DS
D @OEType 1 3
D @OEAddr 4 259
D @OEName 260 309
Note: If you write more than 19 entries to this file they will be ignored.
 
	