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
 

 

JCL: How to SEND EMAIL OF system errors

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
jm_green84

New User


Joined: 13 Dec 2006
Posts: 11
Location: ATL

PostPosted: Wed Dec 13, 2006 10:13 pm    Post subject: JCL: How to SEND EMAIL OF system errors
Reply with quote

Does anyone know how in the JCL I can have the system errors from the ERI99OUT FILE (SAS) be emailed to a list on people?


If you can help that would be great.


Thanks,
Back to top
View user's profile Send private message

jm_green84

New User


Joined: 13 Dec 2006
Posts: 11
Location: ATL

PostPosted: Wed Dec 13, 2006 10:14 pm    Post subject: Code I have so far
Reply with quote

Code:

//* SAVE OFF THE ERI99OUT FILE
//*********************************************************************
//BF008.ERI99OUT DD DSN=&&ERI99OUT,SPACE=(TRK,(1,1)),                   
//            DISP=(NEW,PASS),DCB=(RECFM=FB,LRECL=289,BLKSIZE=0)       
//*********************************************************************
//* SEND EMAIL OF ERI99OUT FILE                                         
//EMAIL    EXEC BFSAS,                                                 
//         COND=EVEN,                                                   
//         OPTIONS=VALIDVARNAME=V6                                     
//*                                                                     
//ERRINFO  DD DISP=(OLD,PASS),                                         
//            DSN=&&ERI99OUT                                           
//WHOMAIL  DD DISP=SHR,                                                 
//            DSN=IOA.CNTRLM.CONTACTS(PH1909DG)                         
//ERI99OUT DD SYSOUT=*                                                 
//SASSYSIN DD DISP=SHR,                                                 
//            DSN=BAS01909.T.V4.SASLIB(ERI99OUT)
Back to top
View user's profile Send private message
superk

Moderator Team Head


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

PostPosted: Thu Dec 14, 2006 12:20 am    Post subject: Re: JCL: How to SEND EMAIL OF system errors
Reply with quote

I posted a SAS Email job in this previous post.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts EMAIL using IEBGENER - SMTP parasmalik20 JCL & VSAM 4 Tue May 23, 2017 12:19 am
No new posts Overlay the system date Danielle.Filteau SYNCSORT 4 Fri Mar 03, 2017 1:16 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


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