IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What is meant by HIGH-VALUES in the cobol language


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gvt460

New User


Joined: 04 Mar 2005
Posts: 23

PostPosted: Thu Apr 28, 2005 11:18 am
Reply with quote

I would like to know what is meant by high-values in the cobol language. I know that is figarative constant ... but what does value it contains?
For example low-values means spaces.
Back to top
View user's profile Send private message
elango

New User


Joined: 27 Apr 2005
Posts: 12
Location: chennai

PostPosted: Thu Apr 28, 2005 12:12 pm
Reply with quote

hi


HIGH-VALUES (the highest ASCII value the character can hold).
In contrast to Low-Value, High-Value is the
highest value in the computer's collating sequence. It
is valid only with alphanumeric fields. When compared to
any other field, High-Value is always greater. The
internal representation of High-Value in most computers
is that of all bits in a byte set to one.
High-Value is not equal to either the letter Z or the number 9 unless
those characters are the highest characters in the
computer's collating sequence.


that's it

regards


elango
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Apr 28, 2005 3:37 pm
Reply with quote

gvt460 wrote:

for example low-values means spaces.

No, low-values in EBCDIC are hex zeros.
High-values in EBCDIC are hex 'FF'.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
Search our Forums:

Back to Top