How to use Control-M for SAP 9.0.01 to continue processing upon failure in a multi-step job definition

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Control-M for SAP


    COMPONENT:

    Control-M for SAP PI


    APPLIES TO:

    Control-M for SAP 9.0.01



    QUESTION:

    Some SAP jobs are defined with multiple steps within them.
    Is it possible when one step fails to continue onto the next step within the same job definition, until the job completes?


    ANSWER:

    Here's an example of the SAP job definition:

    -----
    The SAP job definition contains 3 steps. 
    The second step has an invalid SAP variant and fails to submit to step 2. 
    However the job needs to continue to step 3.
    ------


    This is resolved by setting the SAP parameter variable SAP-POF_STEP_OFFSET and enabling the option 'Rerun from point of failure' within the CM for SAP job definition.
    The SAP-POF_STEP_OFFSET parameter is set within the jobs variables section.


    Before the first run both 'Rerun from point of failure' must be checked and SAP-POF_STEP_OFFSET set to '+1'.
    Then, if the job fails and a rerun is performed, it will rerun from the next step after the failed step.
     

     

      


      

     


    Article Number:

    000166700


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles