CA Workload Automation ESP Edition

Expand all | Collapse all

NOTIFY FAILURE MAILBOX use it at the application level?

  • 1.  NOTIFY FAILURE MAILBOX use it at the application level?

    Posted 02-09-2016 01:49 PM

    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?

     

    Thank you

    Diane



  • 2.  Re:  NOTIFY FAILURE MAILBOX use it at the application level?

    Posted 02-09-2016 02:17 PM

    In our environment the NOTIFY statement is coded at the Application level, after the APPL statement.

     

    Example:

     

    PROCEDURE_SECTION:      

                    

    APPL APPLNAME 

                                 

    NOTIFY FAILURE MAILBOX(EMAIL_ME)        

     

    JOB JOBNAME

    .

    .

    .

     

     

    Is that how you have it coded?

     

     

    If not can you post an excerpt of your PROC?



  • 3.  Re:  NOTIFY FAILURE MAILBOX use it at the application level?

    Posted 03-08-2017 08:58 AM

    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 

     

    APPL JCLTST1

    JCLLIB <'pds where jobs reside'>

    NOTIFY FAILURE MAILBOX(OPER)

    JOB A

            RUN DAILY

    ENDJOB

     

    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)

    EMAIL chid@yahoo.com

     

    Can you please help me here to get notification message in the event of job failure.

     

    Thanks

    Chid



  • 4.  Re:  NOTIFY FAILURE MAILBOX use it at the application level?

    Posted 03-23-2017 08:42 AM

    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

    LOADNL '<Dataset(Member).'

     

    If that resolves the issue you will then need to add the LOADNL command to the INITPARM.

     

    If not please provide additional details.



  • 5.  RE: Re:  NOTIFY FAILURE MAILBOX use it at the application level?

    Posted 05-28-2020 11:11 AM
    Rick- I was curious about the LOADNL command, I am recently updated our mailboxes and tried issuing the LOADNL command, however, I keep getting an invalid command response.  Any insight or help would be greatly appreciated.

    Elliott


  • 6.  RE: Re:  NOTIFY FAILURE MAILBOX use it at the application level?

    Posted 05-28-2020 11:56 AM
    Hi,
    The command will OPER in front of it.
    OPER LOADNL 'HLQ.DNSNAME'

    Let us know if there are any questions.
    Don