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

JCL: How to SEND EMAIL OF system errors


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

Global Moderator


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

PostPosted: Thu Dec 14, 2006 12:20 am
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts PL/1 SEND CICS MAP first time, attrib... CICS 6
No new posts CICS UCTRAN=NO not working, need syst... CICS 3
No new posts System add a USER parm when job submi... TSO/ISPF 4
No new posts Email attachment from mainframe is empty PC Guides & IT News 9
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
Search our Forums:


Back to Top