While the object interface example depicted in the link provided previously is the best option, you can still use the old-style EXECUTE/CAPTURE and then parse methods of old to provide a programming API of your own.
See the JBC Execute command here: https://docs.zumasys.com/jbase/jbc/execute/ and take note of the section on the "CAPTURING" clause. -BD On Monday, June 21, 2021 at 9:55:06 AM UTC-6 [email protected] wrote: > Jose, > > The link previously supplied: > > > > > https://docs.zumasys.com/jbase/record-locking/locking-models/#using-the-lock-jedi-to-display-and-clear-locks > > <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.zumasys.com%2Fjbase%2Frecord-locking%2Flocking-models%2F%23using-the-lock-jedi-to-display-and-clear-locks&data=04%7C01%7Cmikes%40jbase.com%7C59ab1fb85ff446de423908d930d3ccb0%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637594508517794491%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=UnoNtPUyMg%2BuQeRtfBcN%2FcoxEmMCxrq64rMkdsSCg08%3D&reserved=0> > > > > has examples of jBASE Dynamic Objects (jabba) code being used to obtain > details of all locks. > > > See the section on “Finding and reporting record locks”. You must be > running a current version of jBASE however -> 5.7.10 or later. > > > > Mike > > > > *From:* [email protected] <[email protected]> *On Behalf Of *JOSE > L MARTINEZ-AVIAL > *Sent:* 21 June 2021 16:30 > *To:* [email protected] > *Subject:* Re: How to see records locked by a port in Jbase > > > > Hello all, > > thanks for the feedback. Actually what I meant was to ask how we can > programmatically get the list of items that are locked. I know we can use > show-item-locks from the command line, but I want to be able to do it > programmatically. > > > > Thanks > > > > JL > > > > El vie, 18 jun 2021 a las 16:41, Robert Burke (<[email protected]>) > escribió: > > Hi Jose, > > > > You can view jBASE record locks by using the list-item-locks command. You > can also view the lock table held by the jBASE distributed lock service by > using the jdls -dvL command. > > > > Thanks, > > Robert Burke > > On Tuesday, June 15, 2021 at 10:41:12 AM UTC-7 Jose L wrote: > > Hello, > > Is there anyway I can get a list of tables/records locked by a port in > Jbase? > > > > thank you > > > > JL > > -- > -- > IMPORTANT: T24/Globus posts are no longer accepted on this forum. > > To post, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2FjBASE%3Fhl%3Den&data=04%7C01%7Cmikes%40jbase.com%7C24b0d434f94f4c7dd09408d934cb3b72%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637598869770949798%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=IeES8HrKqHBBwVu94%2FJFwsdtwc9zcUK4gmoK1BYLbP4%3D&reserved=0> > > --- > You received this message because you are subscribed to the Google Groups > "jBASE" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jbase/28d770a6-5b09-4e19-a2f8-a907dca33a64n%40googlegroups.com > > <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjbase%2F28d770a6-5b09-4e19-a2f8-a907dca33a64n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cmikes%40jbase.com%7C24b0d434f94f4c7dd09408d934cb3b72%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637598869770959798%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=6oR30zTEB4M5wMgLhIHez0cp5o4S%2BdRBBRStAA2Ck3Q%3D&reserved=0> > . > > -- > -- > IMPORTANT: T24/Globus posts are no longer accepted on this forum. > > To post, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2FjBASE%3Fhl%3Den&data=04%7C01%7Cmikes%40jbase.com%7C24b0d434f94f4c7dd09408d934cb3b72%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637598869770959798%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=beXQofuCcTkjpu0zD1KxbX1JzdfgDbNmPq7EBgb9TPM%3D&reserved=0> > > --- > You received this message because you are subscribed to the Google Groups > "jBASE" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/jbase/CAHB4ARvcToh8mUCRzEg1N8YW7WdP-VJ6dFK1ovwYm4stvxq6vw%40mail.gmail.com > > <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjbase%2FCAHB4ARvcToh8mUCRzEg1N8YW7WdP-VJ6dFK1ovwYm4stvxq6vw%2540mail.gmail.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cmikes%40jbase.com%7C24b0d434f94f4c7dd09408d934cb3b72%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637598869770969791%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=VODbgLuPjJqku1crOENJY5ROn%2FZLL9Ob8zYJ6491XzY%3D&reserved=0> > . > -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jbase/55f098a4-96e7-46f9-8edb-c46cd896d559n%40googlegroups.com.
