IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Sending an email through CLIST


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Thu Jun 26, 2008 10:08 pm
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

Global Moderator


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

PostPosted: Thu Jun 26, 2008 11:08 pm
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

Moderator Emeritus


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

PostPosted: Fri Jun 27, 2008 12:23 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts REXX to send an email in Mainframe wi... CLIST & REXX 3
No new posts REXX to send an email in Mainframe CLIST & REXX 4
No new posts Problem while sending special charact... JCL & VSAM 4
No new posts Same command as on commandline in REX... TSO/ISPF 6
Search our Forums:

Back to Top