|
"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx> wrote on 11/29/2017unconnectable state.
11:16:41
AM:
Are you guys saying that I am fighting with a known problem and it
isn't just something that I'm doing wrong?
No. Our situation is different from yours. Our situation is
that there is an off-platform call from MS SQL Server to a stored
procedure on the IBM i. If only one of these calls are made and then
the session is disconnected then everything works fine. However, if
there are two of these calls back-to-back in the same session then the
second call was failing due to an IBM i system message which stated
that an object was no longer available to be referenced.
At that point my SQL standard error service procedure would
try to log the error but would fail with another IBM i system message
which stated that there was no database connected. If I would try to
connect the local database (via CONNECT RESET) that would also fail
with an IBM i system message stating that the database was in an
resolve the problem.
Thus Dieter's suggestion to use a separate activation group
for my SQL standard error service procedure seemed to be a good one --
because it should always have the local database connected by default.
But it still failed. IBM stated that the server job for such
connections (QZDASOINIT) would have some kind of a reset performed on
it between calls from MS SQL Server. It appeared to be that this
reset is what was messing me up -- but they had no suggestions on how to
transmission.
I did have your situation under another circumstance, though.
In that situation I had to add the CONNECT RESET to my SQL standard
error service procedure and that took care of it. When I moved my SQL
standard error service procedure to its own activation group then I
was able to remove the CONNECT RESET and everything continued working
just fine in this situation that was similar to yours.
In short... Your situation should be resolved by either using
CONNECT RESET or by moving the failing program to its own activation
group. If neither of those suggestions resolve your situation, then
it seems to me that it is PMR time.
Sincerely,
Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300
Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio 45439 USA
(937) 294-5331
************************************************************
*********************************
This email message and any attachments is for use only by the named
addressee(s) and may contain confidential, privileged and/or
proprietary information. If you have received this message in error,
please immediately notify the sender and delete and destroy the
message and all copies. All unauthorized direct or indirect use or
disclosure of this message is strictly prohibited. No right to
confidentiality or privilege is waived or lost by any error in
************************************************************
*********************************
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.
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.