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 ESQA overflow - high ECSA utilization vasanthz All Other Mainframe Topics 1 Thu Dec 29, 2016 7:06 am
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts Overlaying one set of charater values... Kevin Lindsley SYNCSORT 7 Sat Nov 05, 2016 3:21 am
No new posts Low values Results from VARCHAR FORMAT balaji81_k DB2 10 Thu Oct 20, 2016 1:18 am


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