I'm having difficulty with a select statement. As
below, it works . If I remove the '//' comment-out tags, it doesn't, so
obviously there's an issue with those statements. I'm trying to populate
an output 3-char field with either Yes, No, or N/A. The Y/N comes from
the contents of a field from one file, the N/A comes from the contents of a
field from a different file.
So, if the contents of cdfcod from file ccccd00 equals 'N', then I want 'N/A'
in the output field. Otherwise, if the contents of rhrfp from file
cccrh01 equals 'Y', then output is 'Yes'. If contents of rhfrp does not
equal 'Y', then output is 'No'.