Hello to you.

Is it possible in COBOL to write LIKE statement using numeric fields?

For example:

I want to search a numeric field XX in numeric field AA.

XX = 21

If I writing - WHERE AA LIKE XX - I'm getting nothing.

If I writing - WHERE AA LIKE "%21%" - I'm getting all the records.