We have an RPGLE program which is called from a webpage. This process is following thru and calling the functions (CL and RPG) which are doing DB updates. The problem is the webpage does not seem to know when the main process is complete. The RPGLE stored procedure does a SETON LR.
I'm wondering 2 things...Could one reason be that the RPGLE calls a CL which calls a RPG program be a problem?
2nd - Since the RPGLE program is simply calling the CL which calls the RPG doing the majority of the work, could we simply convert the CL to CLLE and use it as the stored procedure or can CL's not be used as a stored procedure?
Thanks.
I'm wondering 2 things...Could one reason be that the RPGLE calls a CL which calls a RPG program be a problem?
2nd - Since the RPGLE program is simply calling the CL which calls the RPG doing the majority of the work, could we simply convert the CL to CLLE and use it as the stored procedure or can CL's not be used as a stored procedure?
Thanks.
Comment