The Question is:
how do i create, what i want to be an
email attachment, when it leaves the vms system.
The Answer is :
Please see the OpenVMS FAQ discussion of MIME and attachments,
as well as topics here including (4492), (8678) and (8057).
An SMTP program is also available in the support database, seek
"Example-C,C++ SMTP Mail Message Sender With MIME File Attachments"
using the Natural Language Assistant or other support search tool
-- look for AskQ within the OpenVMS FAQ for pointers to the Natural
Language Assistant tool.