Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

HELLO FRIENDS,

THIS IS JANARDHAN.GADIRAJU, I FACED ONE INTERESTING
QUESTION IN COBOL, THAT IS WHAT ARE THE VALUES WE CAN SEE
IN HIGHVALUES AND LOWVALUES, CAN U PLEASE GIVE ME THE ANSWER

Answer Posted / nihar ranjan karan

I completely agree with Nikhil...
To add up a few more points which will be of help.....

Open up a dataset and put HEX ON , you will see the
following results assuming the variable occupies 4 bytes of
space:

low values 00000
00000

high values FFFF
FFFF

spaces 4444
0000

display item numbers FFFFFFFFFF
0123456789

characters A - Z will be of the following form:
C1-C9 will represent A-I,D1-D9 will represent J-R,E2-E9
will represent S-Z

comp-3 ...for example if number is positive 5893.
0083
059C

for negative last character will be D.

For comp it is converted into its hexadecimal equivalent.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is redefines clause in COBOL?

1299


For rewrite, why is it mandatory that file needs to be opened?

1115


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2141


What is comp-1 and comp-2?

1234


Name the sections present in data division.

1253


Write a program that uses move corresponding.

1154


Can we change the password using ALTER? anyone tried and changed?

2021


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1541


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2402


) How do u handle errors in BMS macro

2058


Can a Search can be done on a table with or without Index?

1293


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1118


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

1222


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1157


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1135