Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

All life evolves by the differential survival of replicating entities. -- Dawkins


devel / comp.databases.ingres / Re: Call 3GL from DP ?

SubjectAuthor
* Call 3GL from DP ?nikosv
`* Re: Call 3GL from DP ?Roy Hann
 `* Re: Call 3GL from DP ?nksvg
  `* Re: Call 3GL from DP ?Roy Hann
   `- Re: Call 3GL from DP ?nksvg

1
Call 3GL from DP ?

<dfe21a24-340c-4797-9484-aad36ffe07b2n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=260&group=comp.databases.ingres#260

  copy link   Newsgroups: comp.databases.ingres
X-Received: by 2002:a05:620a:1922:b0:746:7728:d909 with SMTP id bj34-20020a05620a192200b007467728d909mr2784779qkb.13.1681145277145;
Mon, 10 Apr 2023 09:47:57 -0700 (PDT)
X-Received: by 2002:a05:620a:4415:b0:745:70ea:4fe6 with SMTP id
v21-20020a05620a441500b0074570ea4fe6mr2939729qkp.6.1681145276809; Mon, 10 Apr
2023 09:47:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.databases.ingres
Date: Mon, 10 Apr 2023 09:47:56 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:214a:843b:b700:1079:6737:cb28:97c6;
posting-account=HVjXiwoAAABbMuZJSsy6aGtjsYOerfGt
NNTP-Posting-Host: 2a02:214a:843b:b700:1079:6737:cb28:97c6
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dfe21a24-340c-4797-9484-aad36ffe07b2n@googlegroups.com>
Subject: Call 3GL from DP ?
From: nikos.va...@gmail.com (nikosv)
Injection-Date: Mon, 10 Apr 2023 16:47:57 +0000
Content-Type: text/plain; charset="UTF-8"
 by: nikosv - Mon, 10 Apr 2023 16:47 UTC

Is is possible for a DP or a UDF/OEM to access a shell or call an external command, like Perl?
By that I mean the dbms server actually accessing the OS.
Ingres 10.2

Re: Call 3GL from DP ?

<u11j8t$28und$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=261&group=comp.databases.ingres#261

  copy link   Newsgroups: comp.databases.ingres
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: specia...@processed.almost.meat (Roy Hann)
Newsgroups: comp.databases.ingres
Subject: Re: Call 3GL from DP ?
Date: Mon, 10 Apr 2023 18:07:25 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <u11j8t$28und$1@dont-email.me>
References: <dfe21a24-340c-4797-9484-aad36ffe07b2n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 10 Apr 2023 18:07:25 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="33186ce9ef9a34cd59f3357911f7c1ba";
logging-data="2390765"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+IHBaaqD/sQ2P+ee5cMBzAT2zEZzp13fw="
User-Agent: XPN/1.2.6 (Street Spirit ; Windows)
Cancel-Lock: sha1:CCQqafRc2OvCjpApvPb6I6Orrts=
 by: Roy Hann - Mon, 10 Apr 2023 18:07 UTC

nikosv wrote:

> Is is possible for a DP or a UDF/OEM to access a shell or call an external command, like Perl?
> By that I mean the dbms server actually accessing the OS.
> Ingres 10.2

Nope.

When I've wanted to do something like that I've been able to set up
something to listen for database events. You can attach a small
payload/message of up to 256 bytes when you raise them, which might be
enough to send some argument. You need the listener to register for the
event then react to any message.

I rather doubt you can have a UDF even in 11.2+ that could run
externals, but I would run screaming from the idea anyway.

Roy

Re: Call 3GL from DP ?

<827f673d-c162-4eeb-8a85-dc89f57482een@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=262&group=comp.databases.ingres#262

  copy link   Newsgroups: comp.databases.ingres
X-Received: by 2002:a05:6214:560b:b0:56f:80e:701b with SMTP id mg11-20020a056214560b00b0056f080e701bmr2753423qvb.2.1681203356074;
Tue, 11 Apr 2023 01:55:56 -0700 (PDT)
X-Received: by 2002:a05:6214:192d:b0:56e:a203:5d1f with SMTP id
es13-20020a056214192d00b0056ea2035d1fmr2529730qvb.5.1681203355707; Tue, 11
Apr 2023 01:55:55 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.databases.ingres
Date: Tue, 11 Apr 2023 01:55:55 -0700 (PDT)
In-Reply-To: <u11j8t$28und$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=84.205.251.14; posting-account=ZlDTmgoAAACMmgI_Psevgo4eFGLKaUXR
NNTP-Posting-Host: 84.205.251.14
References: <dfe21a24-340c-4797-9484-aad36ffe07b2n@googlegroups.com> <u11j8t$28und$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <827f673d-c162-4eeb-8a85-dc89f57482een@googlegroups.com>
Subject: Re: Call 3GL from DP ?
From: nks...@gmail.com (nksvg)
Injection-Date: Tue, 11 Apr 2023 08:55:56 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1299
 by: nksvg - Tue, 11 Apr 2023 08:55 UTC

Hi Roy,this might be it.
I now have to devise a way for the 3GL application to return a result back to the ABF/4GL app, like :
dbevent->call Perl script->notify ABF/4GL app back

Re: Call 3GL from DP ?

<u15u20$2vra2$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=263&group=comp.databases.ingres#263

  copy link   Newsgroups: comp.databases.ingres
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: specia...@processed.almost.meat (Roy Hann)
Newsgroups: comp.databases.ingres
Subject: Re: Call 3GL from DP ?
Date: Wed, 12 Apr 2023 09:36:00 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <u15u20$2vra2$1@dont-email.me>
References: <dfe21a24-340c-4797-9484-aad36ffe07b2n@googlegroups.com> <u11j8t$28und$1@dont-email.me> <827f673d-c162-4eeb-8a85-dc89f57482een@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 12 Apr 2023 09:36:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6edfbf7195696f7eba991dc6c96813f6";
logging-data="3140930"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+d5FC0Vtf1KzmQxWZfw0UnRlwKurTK67k="
User-Agent: XPN/1.2.6 (Street Spirit ; Windows)
Cancel-Lock: sha1:bCk2+mrTxry4ZIwp+EVc+2/JBww=
 by: Roy Hann - Wed, 12 Apr 2023 09:36 UTC

nksvg wrote:

> Hi Roy,this might be it.
> I now have to devise a way for the 3GL application to return a result back to the ABF/4GL app, like :
> dbevent->call Perl script->notify ABF/4GL app back

ABF can catch DBEVENTs itself using:

on dbevent =
begin
...
end

You can use INQUIRE_SQL(event = DBEVENTNAME, msg = DBEVENTTEXT) to get
the message/arguments.

Roy

Re: Call 3GL from DP ?

<07cc331d-b598-4a5c-a277-9b3f975a80f3n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=264&group=comp.databases.ingres#264

  copy link   Newsgroups: comp.databases.ingres
X-Received: by 2002:ad4:55d4:0:b0:5df:73c6:4c2c with SMTP id bt20-20020ad455d4000000b005df73c64c2cmr3222539qvb.0.1681292658431;
Wed, 12 Apr 2023 02:44:18 -0700 (PDT)
X-Received: by 2002:a05:620a:d8c:b0:74a:508:e77c with SMTP id
q12-20020a05620a0d8c00b0074a0508e77cmr621070qkl.11.1681292658102; Wed, 12 Apr
2023 02:44:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.databases.ingres
Date: Wed, 12 Apr 2023 02:44:17 -0700 (PDT)
In-Reply-To: <u15u20$2vra2$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=77.49.118.19; posting-account=ZlDTmgoAAACMmgI_Psevgo4eFGLKaUXR
NNTP-Posting-Host: 77.49.118.19
References: <dfe21a24-340c-4797-9484-aad36ffe07b2n@googlegroups.com>
<u11j8t$28und$1@dont-email.me> <827f673d-c162-4eeb-8a85-dc89f57482een@googlegroups.com>
<u15u20$2vra2$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <07cc331d-b598-4a5c-a277-9b3f975a80f3n@googlegroups.com>
Subject: Re: Call 3GL from DP ?
From: nks...@gmail.com (nksvg)
Injection-Date: Wed, 12 Apr 2023 09:44:18 +0000
Content-Type: text/plain; charset="UTF-8"
 by: nksvg - Wed, 12 Apr 2023 09:44 UTC

You mean the 3GL app to fire a separate 2nd event upon completion, in order to simulate bidirectional communication?
But which instance of the ABF application will catch the 2nd event?
I mean if there's two users running the same abf app from two separate terminals,will both of them catch
the 2nd event,even if only one had triggered the initial 1st event firing?

Also the abf app should be active at that moment in order to catch the 2nd event?

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor