There probably is a simple explanation, and maybe I haven�t searched enough for it, or I've looked at this so long I can't see my own mistake, but here�s my issue.
Here is the interesting thing to me. The first four characters in both fields are the same. If I modify one line to make the first four characters different, then it will not print that line. If I change the == equal to a != not equal I will only get a line that has the first four characters different. It seems anything past the first four is not considered.
So I guess the USS under ZOS 2.2 does things a bit different. Here is the answer from IBM
The issue here lies in the input
strings. awk's strings get converted to numbers and numbers to strings,
if the context of the program demands it. A string is converted to a
number by interpreting any numeric prefix of the string as numerals. For instance 37Jeff would be converted to 37. Hence, in your input files,
all the fields have a prefix of 000 which means that they are all
converted to 0 and are thus equal to awk.
To force a number to a string, you may prefix any numeric prefix with
the empty string "".
$ awk ' ""$1 == ""$2 { print $1,$2 }' awktest.txt
This worked for me for what I'm doing, and cured my headache.