View previous topic :: View next topic
|
Author |
Message |
krunalbafna Warnings : 1 Active User
Joined: 18 Jan 2010 Posts: 143 Location: Pune
|
|
|
|
Hi,
I am writting a code in which i need to send the mail wether input file is processed or not.
Here I have 16 clients. When i execute the CICS program i get USER id which should be my email list.
eg i am user and my user id is : "OOIUJF" than mail should go to OOIUJF@abc.com.
in case job is ran successfully or abended.
The card should have an attachment in case of succesful run and no attachment in other case.
The subject line should change similarly.
I am planning to write a single card which has details such as :
Recepient, SUBJECT and attachment details.
For contentt also i should write the line dynamically.
Is there any approach how the three cards can be written dynamically and used in JCL to execute SMTP batch to send mail and attachment.
(Kindly provde how it is possible to send the attachment - I referred the forum but cannot strike the cord.) |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Contact your site support group and work with them. Whether or not what you want to do is even possible is a question only someone working at your site can answer. Your CICS region must have a TD queue defined to point to the internal reader; if your site doesn't have TD queues so defined in your CICS region then what you want to do cannot be accomplished through CICS, period. And only someone at your site can tell you this.
Furthermore, I just did a search (using the forum Search function) on smtp attachment and got 50 hits, several of which have the exact JCL used to generate emails with attachments. |
|
Back to top |
|
|
|