Hi Patric

given the shortage, any help is good.

I am correcting a small generic utility for saving and clearing records
(purge) from a given table. I am including null handling. In this case I
just copy (memcpy) 'in_null_map' into 'out_null_map'.

Thanks for your help.

Javier Mora

El lun, 24 feb 2025 a las 19:45, Patrik Schindler (<poc@xxxxxxxxxx>)
escribió:

Hello Javier,

Am 24.02.2025 um 09:53 schrieb datil400 <datil400@xxxxxxxxx>:

I find the information provided in the manuals on this subject very poor.

It's very, very terse, yes.

Macros are not conveniently explained and there are no good examples.

Hence my expansion on the subject from a few days ago.

I am doing “reverse engineering” and “trial and error”.

Same here. I strongly recommend to add options(*showusr) to the compiler
arguments, so you can see the includes which have been generated by #pragma
mapinc. Helps a lot!

For what I need I have discovered that I have to adjust the
_RFILE.out_null_map subfield.

Adjust what precisely in which manner?

:wq! PoC


--
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L)
mailing list
To post a message email: C400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/c400-l.


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