Hallo,
es gibt da noch einen Parameter im snddst:

If you issue a SNDDST command of a *DOC and the document is in an RFTDCA or RFTAS400 format, there is a parameter on the SNDDST command which determines if the document is sent as an attachment or copied into the message itself.

The parameter that controls this is the SNDFMT (Send Format) parameter (see example below).

If the value of this parameter is *NOTE, the document is copied into the e-mail message. If the value is *NOCHG, the document is sent as an attachment to the e-mail.

Send Distribution (SNDDST)

Type choices, press Enter.

Message . . . . . . . . . . . . *NONE



Confirmation of delivery . . . . *YES *NO, *YES
Sensitivity . . . . . . . . . . *NONE
Content importance . . . . . . . *NORMAL *NORMAL, *LOW, *HIGH
Priority . . . . . . . . . . . . *NORMAL *NORMAL, *HIGH, *LOW
User identifier:
User ID . . . . . . . . . . . *CURRENT Character value, *CURRENT
Address . . . . . . . . . . . Character value
Send format . . . . . . . . . . > *NOTE *NOCHG, *NOTE, *FINALFORM
Document . . . . . . . . . . . . > DICTADD Name, *DOCID
In folder . . . . . . . . . . . > HADLEY