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



​Turns out it doesn't matter...

Was thinking to simply...locking the table isn't going to work in my
scenario...​

Charles

On Thu, Mar 15, 2018 at 4:24 PM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
wrote:

Yeah, a lot of those links don't seem to work online, but I think the
toolkit itself has the stuff.

Vern


On 3/15/2018 2:55 PM, Charles Wilt wrote:

Yeah I found that...the link to t088.rpgle doesn't work..

But it is include in the download...

I'm looking at it..

Charles

On Thu, Mar 15, 2018 at 1:41 PM, Bryan Dietz <bdietz400@xxxxxxxxx> wrote:

google search turned up:

http://i5toolkit.sourceforge.net/rpg/page_obj_lck.html

Bryan


Vernon Hamberg wrote on 3/15/2018 2:25 PM:

Charles

Let me recommend using the MI built-in instruction _LOCK - this is
directly callable from RPG - there is a C/C++ prototype in the LOCK
member
of the MIH source file in QSYSINC.

The ILE C/C++ for AS400 MI Library Reference has example an exampe, and
you can probably find others with Google. Maybe especially look up
Junlei
Li - a developer who has put a lot of stuff out there.

HTH
Vern

On 3/15/2018 12:33 PM, Charles Wilt wrote:

because I want to call it from within an RPG program...

Yes I know I could use one of the command call APIs to call ALCOBJ...

And yes I know I could create a CLLE module around it...

I just thought it'd be nicer if IBM already had an API.

Charles

On Thu, Mar 15, 2018 at 11:16 AM, Rob Berendt <rob@xxxxxxxxx> wrote:

I do not know of any. Why not use the command?


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Charles Wilt <charles.wilt@xxxxxxxxx>
To: Midrange Systems Technical Discussion <
midrange-l@xxxxxxxxxxxx>
Date: 03/15/2018 01:10 PM
Subject: ALCOBJ API?
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



My google-fu is failing me...

Is there an API equivalent of the ALCOBJ command?

I found this, but it's a bit more lower level than I really want to
use.
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rza
tk/LOCK.htm

Thanks!
Charles
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-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


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-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


--

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-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


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-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 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.