View previous topic :: View next topic
|
Author |
Message |
dipakgoyal Warnings : 1 New User
Joined: 02 Aug 2007 Posts: 18 Location: Kolkata
|
|
Back to top |
|
|
dipakgoyal Warnings : 1 New User
Joined: 02 Aug 2007 Posts: 18 Location: Kolkata
|
|
|
|
Hi Kalpana,
After reading LOW-Values and NULL values in Cobol, I have more questions.
Quote: |
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. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Please explain how to use it. |
You use it when the lowest or highest possible value is needed.
Quote: |
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. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
Search the COBOL Forum for "SPECIAL-NAMES"
and
Take a look at the CLASS clause of the SPECIAL-NAMES paragraph in the COBOL Reference Manual. |
|
Back to top |
|
|
|