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



 >> Okay.  I understand that and what a *null value is then.  Does that mean
the null maps are there to help the programmer to check the value of fields
as part of the trigger processing?

As a general rule based on default behavior, if the file was created with
SQL then the fields are null-capable - if the file was created by DDS they
are not.  So if you created the file with DDS and do not specify that
specific fields are null capable (ALWNUL ?) then there are no null capable
fields and no need to even specify the null field map.

If you have null capable fields then the "nullness" can be tested/set in a
regular RPG program through the use of the %NULLIND BIF.  As Barbara pointed
out in the trigger buffer they are represented as one byte flags and you
simply test the character value in the trigger program rather than using
%NULLIND.

If you were not familiar with null flags, it is highly unlikely that your
database uses them.


Jon Paris
Partner400


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.