Here is a link to a previous thread on the IUA/EIUA Message Board which addressed this very issue
"click" here to go directly to thread with code example and sysgen requirements to do what is asked !
In this thread the distinction was made between submitting a batch job to submit an e-mail - and sending an e-mail directly from IDMS-DC. There are a couple of solutions offered which involve sending the e-mail directly thereby bypassing the intermediate batch job processing.
There is some sample ADS code - easily converted to Cobol - and the required Sysgen statements and IDMS region startup JCL requirements to implement a "e-mail directly from IDMS" solution.
HTH - cheers -
Gary Cherlet