what is low-value and high-value?



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

what is low-value and high-value?

Postby leon » Fri Feb 06, 2009 7:59 pm

hi, what is exactly value about low-value and high-value? zero or space in COBOL,
thank you very much!
leon
 
Posts: 40
Joined: Tue Nov 25, 2008 7:39 pm
Has thanked: 0 time
Been thanked: 0 time

Re: what is low-value and high-value?

 

Re: what is low-value and high-value?

Postby dick scherrer » Sat Feb 07, 2009 1:43 am

Hello,

The high and low value of a byte are the highest and lowest possible value the byte may contain. X'00" is the lowest value and x'FF' is the highest value you will use on the mainframe. Other systems with a different collating sequence might have somthing else.

There is a bit more here (scroll down):
http://publibz.boulder.ibm.com/cgi-bin/ ... lr10/1.2.7?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post