Well that's interesting. Let me pursue that idea.
Thanks for the insight.
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Rob Berendt
Sent: Wednesday, December 29, 2021 2:43 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: QRWTSRVR job with open files - how to close?
I did a google search for
why don't files close which were opened by a rpg stored procedure
<snip1>
The default of the RUNSQLSTM command is *ENDACTGRP, change the default to *ENDMOD. I think your problem will go away.
</snip1>
Maybe there's something like that in your RPG's SET OPTION? That is, if you are using SQL in your RPG.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
http://www.dekko.com
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Rob Berendt
Sent: Wednesday, December 29, 2021 2:33 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: QRWTSRVR job with open files - how to close?
WAG: have the RPG program in it's own activation group and have the cl do a RCLACTGRP?
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.