× 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.



----- Original Message -----
From: <JReksodiputro@hammer.net>
To: <rpg400-l@midrange.com>
Sent: Thursday, January 10, 2002 11:59 PM
Subject: SQL Lock



> Is there something that I miss?
> Do I need to do something on the SQLRPGLE to "release" the lock for
"EXECUTE
> IMMEDIATE"?

There isn't enough information from the RPG program, but some places to
look:

-- what is the commit level used in the program? *None? or something else.
-- is commit being used properly? (if at all)
-- what is the value of the close sql cursor prompt on the create program?
the default is *endpgm. if it was changed to *endjob, the odp could still be
there.
-- what activation group does the rpg program run in? Caller?
-- what activation group does the cl program run in? Caller? If caller, then
the command line is gonna put you in the default group.

lastly, if this is to be a batch job of some sort, one should not care as
the termination of the job would cause the lock to be released.


===========================================================
R. Bruce Hoffman, Jr.
 -- IBM Certified Specialist - iSeries Administrator
 -- IBM Certified Specialist - RPG IV Developer

"I want to be different, just like everybody else!"
  - Ceili Rain





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.