I have the NOTIFY FAILURE MAILBOX(EMAIL_ME) setup at the job level in ESP, works fine. I tried to add it at the application level and it's not generating an email as it does at the job level. Anything I am missing or need to do?
In our environment the NOTIFY statement is coded at the Application level, after the APPL statement.
NOTIFY FAILURE MAILBOX(EMAIL_ME)
Is that how you have it coded?
If not can you post an excerpt of your PROC?
Hi Diane / Rick,
I am also having similar issue, but I am NOT getting email both in Application level and Job level.
I have kept the event JCLTST1 in application level as: This code is stored in member JCLTST1
JCLLIB <'pds where jobs reside'>
NOTIFY FAILURE MAILBOX(OPER)
Can you please let me know where we need to keep OPER. I have absolutely no clue about it.
ie., OPER that I have mentioned is same as EMAIL_ME that you have mentioned.
I have placed OPER as a member inside the same PDS where JCLTST1 event resides. The code in OPER is as:
SMTPPARM CLASS(A) JOBNAME(SMTP)
MAILBOX OPER MAXLINES(50)
Can you please help me here to get notification message in the event of job failure.
A little slow reading some emails.
Is this still and issue?
I think you need to run the Load Notification List command (LOADNL) from Page Mode.
LOADNL '<Dataset(Member).' TEST
If that resolves the issue you will then need to add the LOADNL command to the INITPARM.
If not please provide additional details.