Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Sending an email through CLIST

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
yuvaraj C

New User


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

PostPosted: Thu Jun 26, 2008 9:51 pm    Post subject: Sending an email through CLIST
Reply with quote

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
View user's profile Send private message

Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2038
Location: Silicon Valley

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

1. Build a dataset with your message text.

2. Use the XMIT command with the MSGDSN parameter.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

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

Yuvaraj, correct me if I'm wrong, but I don't believe that CLIST supports TCP/IP Sockets.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jun 27, 2008 12:23 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts EMAIL using IEBGENER - SMTP parasmalik20 JCL & VSAM 4 Tue May 23, 2017 12:19 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm
No new posts how to find clist's or view library Andrew Hsia CLIST & REXX 4 Tue Jun 28, 2016 6:07 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us