×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Carel

That's not actually the case. Varying length data is stored in an auxiliary data space, not the main data space. For allocated = 0, all of the data goes to the aux space. There is a locating value stored in the main space, which also has a pointer to the aux space. It's been 10 years since I looked at this in SST, so the details may be sketchy. If allocated > 0, then values that have a length within that value are stored in the main space, those longer are stored in toto in the aux space.

There were a couple interesting things as to recovering that aux space usage - the only time that happens is when I did a RGZPFM - updates don't recover, they just get the pointers changed to where the data is now. That's for performance, I always assumed.

Regards
Vern

On 7/20/2012 11:50 AM, Carel Teijgeler wrote:
A wild guess: the compiler/system has to allocate at least 1 byte fixed
storage (within the record format) for the field.

Regards,
Carrel Teijgeler

*********** REPLY SEPARATOR ***********

On 20-7-2012 at 16:42 Stone, Joel wrote:

I would like to describe a variable length field with a minimum of zero
length.

Is this possible?

Why must I have min length 1??

TEXTDATA 1000 COLHDG('MEMO TEXT')
VARLEN(1)



Editor gives error "Keyword value beginning '0' not allowed."





______________________________________________________________________
This outbound email has been scanned for all viruses by the MessageLabs
Skyscan service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
--
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: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



-----
Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 10.0.1382 / Virusdatabase: 2437/5141 - datum van uitgifte:
07/19/12





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