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.
One option is to INVOKE WFWK from PR160 and pass the necessary varables, so a Service call be kicked off.
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).