CA OPS/MVS

Expand all | Collapse all

reply mim2060 wtor three times for same job ,fourth time it should notify operator..

Jump to Best Answer
  • 1.  reply mim2060 wtor three times for same job ,fourth time it should notify operator..

    Posted 05-14-2019 12:00 PM

    trying to reply to mim2060 three times for same job ,fourth time it should send notification to user

    if other job comes between first job the second job should consider its count as 1



  • 2.  Re: reply mim2060 wtor three times for same job ,fourth time it should notify operator..
    Best Answer

    Posted 05-15-2019 06:41 AM

    If the MIM2060 message is coming from the job (msg.jobname or msg.ojobname) then simply count it in a GLVJOBID.MIM2060 global var each time you reply.

    Once it reaches 4, notify the user, then delete the var.



  • 3.  Re: reply mim2060 wtor three times for same job ,fourth time it should notify operator..

    Posted 05-15-2019 07:07 AM

    Thanks MarcelvanEk,what if alert comes for different job after second time of first job..will it consider as first time ?



  • 4.  Re: reply mim2060 wtor three times for same job ,fourth time it should notify operator..

    Posted 05-15-2019 09:40 AM

    Yes, thats why to use GLVJOBID prefix: they are UNIQUE to the job.

     

    Marcel.