Are you concerned about other values other than the letters of the alphabet?
There are Hex values between I and J and also between R and S.
What about lower case characters? You need different comparisons for those.
Yeah, it’s a strange question since the question contains the answer. The hex values that are intermixed with upper-case letters in EBCDIC seem to be a good guess at what is really being asked.
If %Scan( X : ‘ABCDEFGHIJKLMNOPQRSTUVWXYZ’ ) > 0