Hi All:
I'm trying to test a field for null or zero.
(I'm doing a left join on the file f.fdrptdt comes from)
I'm getting a sqlcode of -117 (The number of insert or update values is not the same as
the number of columns.) The real error is the nullfld. When I test for only zerofld it works.
I have also tried f.fdrptdt in (null, 0).....No candy
Any assistance would be greatly appreciated
GLS
I'm trying to test a field for null or zero.
(I'm doing a left join on the file f.fdrptdt comes from)
Code:
d nullfld s 1a inz(X'00') d Zerofld s 1s 0 ***************** Case When (frsty * 10000 + frstm * 100 + frstd) Between :FrDate30 and :FrFddYmd and f.fdrptdt in (:nullfld, :zerofld) Then 'Missed First Date' END AS REASON
the number of columns.) The real error is the nullfld. When I test for only zerofld it works.
I have also tried f.fdrptdt in (null, 0).....No candy
Any assistance would be greatly appreciated
GLS
Comment