That's debatable, particularly when dealing with a language, like RPG,
that doesn't provide full NULL support.

If you consider strings to be sets of characters, then you'd consider
that in set theory the NULL set and the EMPTY set are one and the same.

Interesting tidbit, Oracle treats EMPTY strings as NULL strings and vice
versa.

However, given that DB2 doesn't treat NULL strings as EMPTY strings, and
given that RPG doesn't support NULL variables, I probably should have
said empty instead of NULL <grin>


Charles Wilt
--
iSeries Systems Administrator / Developer
Mitsubishi Electric Automotive America
ph: 513-573-4343
fax: 513-398-1121
  

> -----Original Message-----
> From: rpg400-l-bounces@xxxxxxxxxxxx 
> [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of 
> Matt.Haas@xxxxxxxxxxx
> Sent: Friday, January 27, 2006 2:10 PM
> To: rpg400-l@xxxxxxxxxxxx
> Subject: RE: %Trim dilemma
> 
> This isn't comparing null strings. It's comparing empty 
> strings which is
> very different from null.
> 
> Matt 
> 


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