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

Explain about Low values & High values in COB


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kalyan.kumar

New User


Joined: 07 Aug 2006
Posts: 1

PostPosted: Wed Aug 16, 2006 3:12 am
Reply with quote

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

Active User


Joined: 05 Oct 2005
Posts: 308
Location: Vizag / US

PostPosted: Wed Aug 16, 2006 9:55 am
Reply with quote

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

Active User


Joined: 22 Sep 2005
Posts: 104
Location: Concord, New Hampshire, USA.

PostPosted: Wed Aug 16, 2006 10:35 pm
Reply with quote

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

New User


Joined: 31 Jul 2005
Posts: 18
Location: bangalore

PostPosted: Mon Jan 01, 2007 8:18 pm
Reply with quote

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

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Mon Jan 01, 2007 9:04 pm
Reply with quote

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
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts DB2 Statistics - Using EXPLAIN and qu... DB2 1
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
Search our Forums:

Back to Top