×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
It seems strange that they would tell you to make sure you ran in the same
activation group and to make the close cursor behaviour *ENDACTGRP. That
seems like the opposite of making sure that each run of the RPG is data
path unique. For example, wouldn't *ENDMOD close any open SQL cursors more
effectively at the end of each RPG run? Even further assurance would be to
run in a *NEW activation group.
Also, what was the point of them telling you to use dynamic SQL if you
aren't already specifying the library in the prepared statement. Okay,
perhaps this one. I know that data paths are optimized on the RPG program
object itself, so maybe they were trying to avoid some reuse there, but I'm
kind of ignorant on how that works.
Personally, I'd specify the name of the library in the dynamic SQL to be
sure, and I'd probably run in a *NEW activation group for further
assurance.
As an Amazon Associate we earn from qualifying purchases.
This thread ...
Re: Possible SQL Activation Group Issues, (continued)
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.