IBM MAINFRAME HELP FORUMS for COBOL, JCL, CICS, DB2, IMS etc...
Help & Support Forums for IBM Mainframe computers Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7, CA-11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, VSAM, ISPF, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

Sending an email through CLIST

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> CLIST & REXX
View previous topic :: View next topic  
Author Message
yuvaraj C



Joined: 01 Jan 2008
Posts: 3
Location: IBM-India

Posted: Thu Jun 26, 2008 9:51 pm    Post subject: Sending an email through CLIST  

Hi,

In my application I have an requirement that some JCL's should keep on running and I need to check the status of those jobs daily.(around 40)

I have written a CLIST to know the status of those jobs automatically.

Now,I want to modify that program like if any one of the jobs stopped then the program should send an alert like send an email.

Can somebody help me on this?
Back to top  
Pedro



Joined: 01 Sep 2006
Posts: 274
Location: work

Posted: Thu Jun 26, 2008 10:08 pm    Post subject: Reply to: Sending an email through CLIST  

1. Build a dataset with your message text.

2. Use the XMIT command with the MSGDSN parameter.
Back to top  
superk



Joined: 26 Apr 2004
Posts: 3067
Location: Charlotte,NC USA

Posted: Thu Jun 26, 2008 11:08 pm    Post subject: Reply to: Sending an email through CLIST  

Yuvaraj, correct me if I'm wrong, but I don't believe that CLIST supports TCP/IP Sockets.
Back to top  
dick scherrer



Joined: 23 Nov 2006
Posts: 7339
Location: 221 B Baker St

Posted: Fri Jun 27, 2008 12:23 am    Post subject:  

Hello,

You could create a text file with your "message". Then you could submit some jcl thru the internal reader to send the e-mail with your text(there are many examples of both using the internal reader and sending an e-mail in batch in the forum).

Not very elegant, but it is very simple. . .
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> CLIST & REXX
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
Related Links