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
 

 

Explain about Low values & High values in COB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Explain about Low values & High values in COB
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: 309
Location: Vizag / US

PostPosted: Wed Aug 16, 2006 9:55 am    Post subject: Re: Can anyone explain about Low values & High values in
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    Post subject:
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    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Mon Jan 01, 2007 9:04 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions 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 4 Tue Jul 25, 2017 12:12 am
No new posts Sorting of hex values Saurabh_mi DFSORT/ICETOOL 11 Thu May 25, 2017 3:49 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Compare two files and subtract values ameetmund DFSORT/ICETOOL 7 Fri Mar 31, 2017 3:35 pm
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am


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