I assume you are checking for valid data in the var WS-LST-NM (like alphabet or numbers).
If your requirement is this, use class condition to check for alphanumeric value.
Please explain how to use it. I think LOW-VALUES and HIGH-VALUES both come under the category of ALPHANUMRIC, so they will pass the test of :
IF <literal> IS ALPHANUMRIC but are not displayable or valid data.
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Please explain how to use it.
You use it when the lowest or highest possible value is needed.
but are not displayable or valid data.
Yes, that is the way of things. . . Many of the 256 possible values are not displayable. Why is this of interest or concern?
At the top of the page is a link to "IBM Manuals". At the top of the list are COBOL manuals for multiple current versions of the compiler. You need to spend time in the documentation and learn about which values go with which data type.