Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

More LOW-Values and NULL values in Cobol

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
dipakgoyal
Warnings : 1

New User


Joined: 02 Aug 2007
Posts: 18
Location: Kolkata

PostPosted: Thu Apr 29, 2010 4:14 pm    Post subject:
Reply with quote

Hi,
The following link gives valuable information on null values and low-values w.r.t files.

http://www.ibmmainframes.com/about46133.html
Back to top
View user's profile Send private message

dipakgoyal
Warnings : 1

New User


Joined: 02 Aug 2007
Posts: 18
Location: Kolkata

PostPosted: Thu Apr 29, 2010 4:19 pm    Post subject: More LOW-Values and NULL values in Cobol
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Apr 29, 2010 7:11 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1232
Location: Israel

PostPosted: Thu Apr 29, 2010 7:47 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts BI,TO=ZD Changing Values Tyler Dunbar DFSORT/ICETOOL 1 Tue Jul 25, 2017 12:12 am
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us