Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Bashar Chalabi — — source: Informix-list mailing list archive (1991-1998)
Hi there,
I am looking for a way to implement a set of shared state variables in IDS
2000, similar to what an app server would provide.
A typical example: if the end-of-day batch process is running, then all new
user connections must be read-only.
Global variables in SPL stored procedures are not shared among users. How
about stored procedures in C?
Any other way (without using a table)?
--
Bashar Chalabi
CTL, London
↪ replying to Bashar Chalabi
Art S. Kagel — — source: Informix-list mailing list archive (1991-1998)
If you write UDF's in C for IDS.2000 you can certainly allocate and reference
a new shared memory segment for this purpose. Of course you could only
control user apps that call the check function.
Art S. Kagel
Bashar Chalabi wrote:
>
> Hi there,
>
> I am looking for a way to implement a set of shared state variables in IDS
> 2000, similar to what an app server would provide.
>
> A typical example: if the end-of-day batch process is running, then all new
> user connections must be read-only.
>
> Global variables in SPL stored procedures are not shared among users. How
> about stored procedures in C?
>
> Any other way (without using a table)?
>
> --
> Bashar Chalabi
> CTL, London
↪ replying to Art S. Kagel
Bashar Chalabi — — source: Informix-list mailing list archive (1991-1998)
> If you write UDF's in C for IDS.2000 you can certainly allocate and
reference
> a new shared memory segment for this purpose. Of course you could only
> control user apps that call the check function.
Yeah, but that would make it OS dependant. Anything else?
Thanks
--
Bashar Chalabi
CTL, London
↪ replying to Bashar Chalabi
jaime@ml.com — — source: Informix-list mailing list archive (1991-1998)
You can use the Named Memory API.
On Mon, 24 Jan 2000 18:07:12 -0000, "Bashar Chalabi" <bashar@ctl.com>
wrote:
>> If you write UDF's in C for IDS.2000 you can certainly allocate and
>reference
>> a new shared memory segment for this purpose. Of course you could only
>> control user apps that call the check function.
>
>Yeah, but that would make it OS dependant. Anything else?
>
>Thanks
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.