× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



long shot:
is the gap there to align what comes after on a 16-byte boundary?
Have you tried a different record length?

----- Original Message -----
From: <jamesl@hb.quik.com>
To: <mi400@midrange.com>
Sent: Monday, November 12, 2001 6:58 AM
Subject: [MI400] More fun with nullmaps


> This is a multi-part message in MIME format...
> --
> To: mi400@midrange.com
> From: jamesl@hb.quik.com
> X-Advert: http://emumail.com
> Reply-To: jamesl@hb.quik.com
> Date: Mon, 12 Nov 2001 12:58:41 AST
> X-Mailer: EMUmail
> Subject: More fun with nullmaps
>
> Ladies and gentlemen, fellow geeks, geekettes, and gurus:
>
> So far, I've
> managed to determine that, in an input buffer for a file opened
> for all
> modes (i.e., Input, Output, Update, and Delete bits are set), there's a
> gap
> between te record and the nullmap, and I've empirically determined that
> it's
> eleven bytes, plus one byte per keyfield, plus one byte per key byte. So
>
> far, though, I can't explain the gap, except that it appears to have
nothing
> to
> do with variable length, since it occurs in files with no variable length
>
> fields, and none of the bits for including a "variable length access
> component"
> are set.
>
> Unfortunately, none of the obvious places (i.e., in
> the input buffer with the
> usual gap, in the output buffer with no gap [like
> Mr. Gaunt's demo program], in
> the output buffer with the usual gap) for
> sticking a nullmap seem to work for
> writing new records to the file. They
> all seem to be ignored.
>
> Any suggestions, either for explaining the gap, or
> for where the nullmap should
> go when writing new records under these
> conditions?
>
> Apologies for any funky
> formatting
>
> --
> J.Lampert
>
>
> _______________________________________________
> This is the MI Programming on the AS400 / iSeries (MI400) mailing list
> To post a message email: MI400@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/mi400
> or email: MI400-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/mi400.
>



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