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



At 01:53 PM 3/8/2003, you wrote:
> > How about invoking a stored procedure that does an ALCOBJ, David?
> Not an option ... this is a java only application... only AS400 component
> is the database itself.
Well, that's a pretty draconian corner you're painting yourself into.  Why
wouldn't you allow a native stored procedure?  But okay, let's assume that
you have a valid business reason for not using a native stored procedure.
There are alternatives.

The main reason is that this is not an AS400 application ... the only thing AS400 about it is the database. The people who develop & maintain this code do not understand one lick about the as400.


If you know you're talking to an AS/400, you can always use the JTOpen
toolbox to attempt an ALCOBJ command.  This is AS/400-specific, but 100%
Pure Java.

True ... however (always a however), we have no problem allocating the object using the LOCK TABLE sql command ... what I want to do is make OTHER sql accesses wait a period of time for the table to be available. I cannot issue a ALCOBJ command every single time I want to access that particular table.


If that option is not valid, then I think you're stuck with an untenable set
of design decisions - you want to do things differently for the AS/400, yet
you don't want AS/400-specific code.

Rock & hard place ... rock & a hard place. I'm just hoping there is a little sand I can put between to make it slide a bit.


david




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.