Looks like one of the biggest obstacles is communication. . .
I don't speak for Enrico, but i voted for neither. . . Mine was just a suggestion as to why the values you mentioned were treated as they were. You might run an experiment changing this:Enrico votes for the first one, but Dick for the second
IF VALIDDATE('2010013 ','YYYYMMDD')
THEN PUT SKIP LIST (''''||'2010013 '||''''|| ' IS VALID ');
ELSE PUT SKIP LIST (''''||'2010013 '||''''|| ' IS NOT ');
THEN PUT SKIP LIST (''''||'2010013 '||''''|| ' IS VALID ');
ELSE PUT SKIP LIST (''''||'2010013 '||''''|| ' IS NOT ');
IF VALIDDATE('2010023 ','YYYYMMDD')
THEN PUT SKIP LIST (''''||'2010023 '||''''|| ' IS VALID ');
ELSE PUT SKIP LIST (''''||'2010023 '||''''|| ' IS NOT ');
THEN PUT SKIP LIST (''''||'2010023 '||''''|| ' IS VALID ');
ELSE PUT SKIP LIST (''''||'2010023 '||''''|| ' IS NOT ');
My guess is that this will now be invalid rather than valid (only a guess as i can't test it).
As Enrico mentioned - if you don't like the way it works, open an issue with IBM.