ColumbiaDiver
Technical User
All,
I have a quick question that I hope will have an equally quick answer. I have an RPG program that is used to run part of our payroll process. The RPG program populates a data file that gets transmitted to the company that maintains our retirement. The vendor process for our regular payroll cycles that runs this program has the ability to execute a series of commands prior to running executing the RPG program. One of the commands that I execute is CLRPFM I403B as the RPG program populates this file with new data for our retirement vendor with each payroll run.
Unfortunately, the vendor process functionality only works for payroll runs which are batch, (ie our standard payroll process). However, now I need to setup this program to run for on-demand check processing, which is interactive not batch. The result is that I now need to execute the CLPRM IT403B from within the RPG program itself.
Is there a quick and easy way to accomplish this? I have seen references to using the QCMDEXC API, using the SYSTEM API etc. I was hoping someone could tell/show me the simplest way to accomplish this.
I believe the code is RPG III or IV (not sure how to tell), since I do very little RPG related stuff, mainly just making small changes to existing programs. The system is running V6R1M0.
Any help would be appreciated.
Thanks
Gordon
I have a quick question that I hope will have an equally quick answer. I have an RPG program that is used to run part of our payroll process. The RPG program populates a data file that gets transmitted to the company that maintains our retirement. The vendor process for our regular payroll cycles that runs this program has the ability to execute a series of commands prior to running executing the RPG program. One of the commands that I execute is CLRPFM I403B as the RPG program populates this file with new data for our retirement vendor with each payroll run.
Unfortunately, the vendor process functionality only works for payroll runs which are batch, (ie our standard payroll process). However, now I need to setup this program to run for on-demand check processing, which is interactive not batch. The result is that I now need to execute the CLPRM IT403B from within the RPG program itself.
Is there a quick and easy way to accomplish this? I have seen references to using the QCMDEXC API, using the SYSTEM API etc. I was hoping someone could tell/show me the simplest way to accomplish this.
I believe the code is RPG III or IV (not sure how to tell), since I do very little RPG related stuff, mainly just making small changes to existing programs. The system is running V6R1M0.
Any help would be appreciated.
Thanks
Gordon