There are a number of steps that you need to do to achieve this:
1) Copy the spool file to a database file using the CPYSPLF command.
2) Move the file to an IFS folder using the CPYTOPCD command.
3) Use the SNDDST command to send it as a *DOC type message. For example:
SNDDST TYPE(*DOC) TOINTNET((&PRIMAIL) (&CC1MAIL *CC)) +
DSTD('Email Subject') MSG('Email message text...') +
There's a document you may find useful on our site at http://www.astradyne-uk.com/docs/14-02001.pdf
All the best
Last Wiki Answer Submitted: April 4, 2006 6:55 pm by astradyne370 pts.