|
excuse me, but please explain me How I may use null maps? What is it? I don't understand how write 24-byte structure into 20 byte record (The mistake will be, will not it?). Sincerely, Andrew. >From: Gene_Gaunt@ReviewWorks.com >Reply-To: mi400@midrange.com >To: mi400@midrange.com >Subject: Re: [MI400] Null maps, anybody? >Date: Fri, 2 Nov 2001 11:52:45 -0500 > > >I assume the question is, how can MI set null maps in database fields using >the QDB* APIs? > >Here is how to do that. In the UFCB byte at decimal offset 188 (i.e. >POS(189)), turn on bit 6 (i.e. X"02"). Then you can append a null map >after each record as you write them. For example, for a 20-byte record >with 4 fields, fill the final 4 bytes in the 24-byte output buffer with >ones and zeroes. > >_______________________________________________ >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. > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
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.