Can we send e-mail using CICS?

Customer Information Control System. Middleware and MQ Series.
Post Reply
Munish Sharma
New Member
Posts: 5
Joined: Wed Aug 20, 2014 11:31 am

Can we send e-mail using CICS?

Post by Munish Sharma »

Hi,

In a CICS program, I need to send notifications to my email id whenever there is error in the CICS Module. I understand that this is somewhat not very realistic approach as if there is a system abend I think program won't be able to send the e-mail but in other scenarios, is there any way to send email in CICS? Thank you.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Can we send e-mail using CICS?

Post by Robert Sample »

Yes. Have your CICS system programmer set up a TDQ that points to a DD name defined in the JCL as SYSOUT=(?,??) where ? is the appropriate sysout class and ?? is the name of the SMTP started task at your site. The data your CICS program writes to the TDQ must be formatted appropriately with the SMTP requirements.
User avatar
Anuj Dhawan
Founder
Posts: 2802
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Can we send e-mail using CICS?

Post by Anuj Dhawan »

Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Munish Sharma
New Member
Posts: 5
Joined: Wed Aug 20, 2014 11:31 am

Re: Can we send e-mail using CICS?

Post by Munish Sharma »

Thanks for the suggestions.

Not to confuse myself, both the methods suggested here are different...right and should be implemented differently?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Can we send e-mail using CICS?

Post by Robert Sample »

Yes, they are different methods. Each is right for some circumstances. Which you use will depend upon your site, what is available, and what the site standards are.
Munish Sharma
New Member
Posts: 5
Joined: Wed Aug 20, 2014 11:31 am

Re: Can we send e-mail using CICS?

Post by Munish Sharma »

Thank you both of you. I've used TDQ when we used it.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “CICS, Middleware and MQ Series.”