OPS/MVS

 View Only
  • 1.  OPS/MVS SSM - USS STARTED TASK

    Posted Jun 29, 2021 01:07 PM
    Hello,

    Just floating this out there,  we have some started tasks that call unix system services, no message come from the task (only in the STDOUT).
    Here is the trick, to stop the task you have to start the task up with option='stop'.  What is the best way to monitor this in SSM?

    Thanks


  • 2.  RE: OPS/MVS SSM - USS STARTED TASK

    Broadcom Employee
    Posted Jun 30, 2021 08:03 AM

    Hello Randy,

    CA OPS/MVS provides a sample REXX program named SSMUSS1 in the CCLXSAMP library. You can find detailed instructions of how to implement the monitoring of USS tasks under SSM in the comments section of this SSMUSS1 member.

    Regards,

    Mario




  • 3.  RE: OPS/MVS SSM - USS STARTED TASK

    Broadcom Employee
    Posted Jun 30, 2021 08:23 AM
    Hi Randy,
         One method is to create a second STC proc with the OPTION='STOP' coded there. Use the second STC proc in your "Action to STOP the resource" (SSM V3) for the original STC. The action is 'MVSCMD("START second stc").
         I would not track the second STC in SSM as an SSM resource.
    Alan

    Jerry Alan Scott
    Client Services Consultant 5  | Mainframe Division 
    CA, A Broadcom Company

    mobile: 636 697-5412
    jerry.scott2@broadcom.com   | broadcom.com

    O.O.O Alert May 19-21, 2021


    This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.





  • 4.  RE: OPS/MVS SSM - USS STARTED TASK

    Posted Jul 01, 2021 08:00 AM
    USS related SSM resources are indeed a 'mess'. To many possible setup configurations that are usually different from site to site. What is this particular resource? Have you looked at what the STOP option actually does? Its possible it just cancels/stops the USS PID as to which you can code a pgm to do the same stop action. SSMUSS1 as Mario stated does show some techniques you can use to 'customize' control logic to determine UP and DOWN states but it all depends on the setup of the task and how it behaves within your shop.