|
0$0e18a218@houston.rr.com> Subject: Re: [MI400] set spcp to pgm assoc space Date: Fri, 12 Oct 2001 09:15:06 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 ----- Original Message ----- From: "Leif Svalgaard" <leif@leif.org> > I was wrong about this one. The structure is: > 6 x00 followed by > n char(10) fields (one for each handle), where the last 4 chars contain > a bin(4) DATA-LENGTH (incl handle). when the 80 chars are full, > all the data is moved down to make room, so the 80 chars is not fixed. > Every time a handle located segment of the PGAS is added or changed, the entire space has to be reorganized. ( if handle 1 is increased from 100 to 200 bytes, all the handle segments after it have to be shifted down by 100 bytes ). No wonder a "set a ptr to the PGAS" api cannot be provided. The underlying data could be shifted at any moment and the appl with the ptr would not know it. And allowing direct modification of the PGAS contents via a spcptr would expose the entire handle structure to corruption. -Steve Richter
As an Amazon Associate we earn from qualifying purchases.
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.