How do I move, in RPGIV for iSeries, *null to camp defined in physical file DDS with function ALWNULL and DFT(*NULL)?
You must use the ALWNULL(*USRCTL) keyword then | C EVAL %NULLIND(fieldname1) = *ON to set the field to null. This does not change the content of the field. I would assume that you would have done an eval fieldname1='' prior to the %NULLIND function. There may be other ways to do this as well.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.