View previous topic :: View next topic
|
Author |
Message |
kalyan.kumar
New User
Joined: 07 Aug 2006 Posts: 1
|
|
|
|
Hi,
Can anyone explain about Low values & High values in COBOL . It would be better if you can tell me with example. |
|
Back to top |
|
|
Gautam512
Active User
Joined: 05 Oct 2005 Posts: 308 Location: Vizag / US
|
|
|
|
Actually iam working on C in mainframes.
Until my knowledge in C we generally define high and low values for variables.
Low value is nothing but 0x00.
High value is nothing but 0xFF.
Generally we copy this into variables for checking or validation. |
|
Back to top |
|
|
Sridevi_C
Active User
Joined: 22 Sep 2005 Posts: 104 Location: Concord, New Hampshire, USA.
|
|
|
|
Kalyan, "welcome to IBM Mainframes Forum".
Before you post a question, make sure you have browsed thru the manual and have ran a search in the forum. Your question has already been discussed in this forum.
Here you go...
Low value is lowest values in the collating sequence.High value is highest values in the collating sequence.
Collating sequence is the arrangement of alphabets of a language. This sequence is referrenced while performing SORT.
Thanks. |
|
Back to top |
|
|
harish_mf
New User
Joined: 31 Jul 2005 Posts: 18 Location: bangalore
|
|
|
|
Hi,
Low value is every bits in a byte is 0's and High value is every bits in a byte is 1's.
This is used for validating, and one of the usage is , used in VSAM (ESDS), before reading the record in CICS ENVIRONMENT.
Please suggest me some more usages if any one knowns.
Thanks & Regards
Harish.B |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
harish_mf wrote: |
This is used for validating, and one of the usage is , used in VSAM (ESDS), before reading the record in CICS ENVIRONMENT. |
Huh? How so?
Probably that is more of a program switch.... |
|
Back to top |
|
|
|