IBM i Global

 View Only
Expand all | Collapse all

Creating Exit Point program

  • 1.  Creating Exit Point program

    Posted Tue August 24, 2021 03:14 PM
    Is anyone aware of a good site/reference for exit point example programs.  We have implemented PowerHA and recently found there are exit points which can be used to assist in starting/stopping applications that reside on the iASP.  The exit program I have written is not working and there doesn't appear to be an easy way to debug it.  I have looked at a few presentations from past IBM/Common conferences, but there isn't details that I can find.

    ------------------------------
    Michael Garczynski
    Director - SAP Architecture
    DAP Products
    ------------------------------


  • 2.  RE: Creating Exit Point program

    IBM Champion
    Posted Wed August 25, 2021 03:22 AM

    Hello Michael,

    We have this working for customers, the complete switch is automated with Exit Point Programs. We use this in combination with Advanced Job Scheduler (AJS) for stopping and starting the applications. Using AJS allows us, to monitor the progress of the switch by mail. AJS is able to mail it's activity, did a job run normal or abnormal. In the abnormal case AJS also has functionality to mail the joblog with error. The icing of the cake, is a history of when it was executed and how long it did ran. 

    The reason why we use AJS is because of it's 
    flexibility in maintenance. We never have to recompile a program when making changes. 

    If you wish, I can demo this. (For this however I need the customers approval) I do not expect that to be a problem. 

    Greetings Rudi



    ------------------------------
    Rudi Van Helvoirt
    ------------------------------



  • 3.  RE: Creating Exit Point program

    IBM Champion
    Posted Wed August 25, 2021 12:08 PM
    Hi Michael,

    I am the product manager for the IBM PowerHA product at HelpSystems. The great news is that many PowerHA customers automate their switch process, including starting and stopping applications.

    Which exit points were you currently looking at for your automation?

    ------------------------------
    Thanks,
    Brian Nordland
    Technical Product Manager for PowerHA and Robot HA at HelpSystems
    ------------------------------



  • 4.  RE: Creating Exit Point program

    Posted Thu August 26, 2021 08:50 AM
    Check on your system. You may have a library QZRDPWRHA, and if you do, there will be source files in there. Example: QCLSRC.PWRDWNExit is a skeleton for the QIBM_QWC_PWRDWNSYS exit point processing program.

    Luck,
    Steve

    ------------------------------
    Steve Anderson
    ------------------------------



  • 5.  RE: Creating Exit Point program

    Posted Thu August 26, 2021 08:58 AM

    Steve,

     

    I did just uncover those hidden jewels of the skeleton programs.  It's too bad they never showed up with all of the ways I tried to search for them. 

     

    Thanks for the tip.

     

     

    Michael Garczynski
    Director – SAP Architecture

    Dap Products Inc.  | 2400 Boston Street, Suite 200 | Baltimore, MD 21224
    phone:
    410.779.2236
    | fax: 410.779.1943 | e-mail: mgarczynski@dap.com
    dap.com

     

    This e-mail (including all attachments) may be confidential, has a professional character, may be attorney-client privileged and is intended solely for the use of the intended recipient(s). If you are not the intended recipient and you have received this e-mail in error then any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited, may be unlawful and you should contact the sender by return e-mail and then delete all copies in your possession. Any views or opinions presented are solely those of the author and do not necessarily represent those of the individual or entity to whom or which it is addressed or from whom or which it is sent. This e-mail may form part of a legally binding agreement. E-mail messages may contain computer viruses or other defects, we have taken precautions to minimize the risk of transmitting software viruses, but we advise that you carry out your own checks on any attachments to this message. We make no warranties in relation to any loss or damage caused by software viruses or other defects. For information regarding how we process your personal data, click here http://www.dap.com/terms-of-use-and-privacy-policy/





  • 6.  RE: Creating Exit Point program

    Posted Thu January 26, 2023 06:35 AM
    Hi Steve & Michael

    do you know from where one can get the library - QZRDPWRHA?   because we don't have it on our OS - v7r4


    Thanks

    Edward


    ------------------------------
    Edward Camilleri
    ------------------------------



  • 7.  RE: Creating Exit Point program

    IBM Champion
    Posted Thu January 26, 2023 07:48 PM
    Edited by Satid Singkorapoom Thu January 26, 2023 07:49 PM
    Dear Edward

    If you Google with "ibm i QZRDPWRHA", you will find that this library is part of a toolkit named Smart Assist developed by IBM Technology Service team that takes care of PowerHA for i and it is a chargeable product. You need to reach the team to buy the toolkit.

    https://www.ibm.com/support/pages/smart-assist-powerha-ibm-i
    https://theibmi.org/2017/08/23/how-to-implement-administrative-domains-on-ibmi-powerha/#more-1058

    ------------------------------
    Right action is better than knowledge; but in order to do what is right, we must know what is right.
    -- Charlemagne

    Satid Singkorapoom
    ------------------------------



  • 8.  RE: Creating Exit Point program

    Posted Thu January 26, 2023 06:37 AM
    I'm trying to locate a sample CRG exit program in CL. I have the one written in C but in our case we don't have the C compiler.

    Thanks

    ------------------------------
    Edward Camilleri
    ------------------------------



  • 9.  RE: Creating Exit Point program

    IBM Champion
    Posted Thu January 26, 2023 08:00 PM
    Edited by Satid Singkorapoom Thu January 26, 2023 08:03 PM
    Dear Edward

    Do you know of any colleague in your system who is already using RPG or COBOL compiler?  If so, it means that you have the product 5770-WDS IBM Rational Developer for i and it also delivers a C/C++ compiler.  It's just that you need to install WDS option of this C compiler and use it.



    ------------------------------
    Right action is better than knowledge; but in order to do what is right, we must know what is right.
    -- Charlemagne

    Satid Singkorapoom
    ------------------------------



  • 10.  RE: Creating Exit Point program

    Posted Fri January 27, 2023 01:38 AM
    Dear Satid

    Thanks for the clarification. I did not realise that the C compiler is included in the WDS products. I have installed and will use this.

    As regards QZRDPWRHA - I can work without it. I have developed most of the tools we need with CL. I requested this because I thought IBM included an exit routine in CL.  But now I can use the one written in C

    Regards

    Edward


    ------------------------------
    Edward Camilleri
    ------------------------------



  • 11.  RE: Creating Exit Point program

    Posted Thu August 26, 2021 09:34 AM
    Thanks to everyone for the tips to help with resolution.

    ------------------------------
    Michael Garczynski
    Director - SAP Architecture
    DAP Products
    ------------------------------