Executing IPA from PR160

 2 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Srini Rao
Veteran Member
Posts: 149
Veteran Member

    We're facing a situation where we need to update the PR160 PMTOUT file. However, I prefer not to customize the PR160. Instead, I'd like to execute the IPA after PR160 completes successfully. Is there a way to trigger an IPA from within PR160? How do I execute the IPA from batch program. 

    Ragu Raghavan
    Veteran Member
    Posts: 476
    Veteran Member

      One option is to INVOKE WFWK from PR160 and pass the necessary varables, so a Service call be kicked off.

      John Henley
      Posts: 3353
        Posted By Ragu Raghavan on 5/3/2024 9:55 AM

        One option is to INVOKE WFWK from PR160 and pass the necessary varables, so a Service call be kicked off.

        This requires a modest change to PR160; although it's a small change, it's still a customization, which needs to be retrofitted every time PR160 is updated via patches.

        A different solution I have used for this exact scenario is to put the PR160 into a multi-step job, and add a second step that invokes the flow (you can either define an IPA service, or write a quick COBOL program that invokes a flow name from a parameter if you don't want to define a service).

         

         

        Thanks for using the LawsonGuru.com forums!
        John