Here's a brief overview of the ILE RPG null-value support:
To set a field to be null-valued, use:
C eval %nullind(fld) = *on
You test if a field is null-valued using
C if %nullind(fld)
To search for a null-key in a file, code an indicator in factor 2 of
KFLD. Set the indicator to '1' if you want to search for a null key.
Barbara Morris
Gunnar Skandsen wrote:
>
> Is it possible to update a NULL-capable field
> (ex. an *ISO-date field) with a NULL-value ?
>
> Gunnar
Example:
Eval %nullInd(dateField) = *ON
That愀 all.
Thomas Raddatz, Germany.
Gunnar Skandsen schrieb:
>
> Is it possible to update a NULL-capable field
> (ex. an *ISO-date field) with a NULL-value ?
>
> Gunnar
--
*=====================================================*
e-mail Adresse:
Thomas....@Online-Club.de
Homepage:
http://www.online-club.de/~Thomas.Raddatz/
*=====================================================*
Gunnar Skandsen <gusk...@alfanett.no> a écrit dans le message :
3863E5DF...@alfanett.no...