|
INTERVIEW QUESTIONS
MAINFRAME
COBOL
DETAILS
Question: How is sign stored in a comp-3 field?
Answer: It is stored in the last nibble. For example if your number is +100, it stores hex 0C in the last byte, hex 1C if your number is 101, hex 2C if your number is 102, hex 1D if the number is -101, hex 2D if the number is -102 etc.
|
|
|
Category |
COBOL Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9509 users |
Added on |
9/11/2014 |
Views |
69512 |
Rate it! |
|
|
Question:
How is sign stored in a comp-3 field?
Answer:
It is stored in the last nibble. For example if your number is +100, it stores hex 0C in the last byte, hex 1C if your number is 101, hex 2C if your number is 102, hex 1D if the number is -101, hex 2D if the number is -102 etc. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How is sign stored in Packed Decimal fields and Zoned Decimal fields?
|
View Answer
|
|
What do you do to resolve SOC-7 error?
|
View Answer
|
|
What is the difference between CONTINUE & NEXT SENTENCE ?
|
View Answer
|
|
When would you use in-line perform?
|
View Answer
|
|
How do you come out of an EVALUATE statement?
|
View Answer
|
|
What is the use of EVALUATE statement?
|
View Answer
|
|
What is the difference between performing a SECTION and a PARAGRAPH?
|
View Answer
|
|
How do you define a sort file in JCL that runs the COBOL program?
|
View Answer
|
|
What is binary search?
|
View Answer
|
|
What should be the sorting order for SEARCH ALL?
|
View Answer
|
|
What is the difference between SEARCH and SEARCH ALL?
|
View Answer
|
|
What is the difference between index and subscript?
|
View Answer
|
|
How do you define a table/array in COBOL?
|
View Answer
|
|
What does the IS NUMERIC clause establish ?
|
View Answer
|
|
What is level 66 used for?
|
View Answer
|
|
What is 88 level used for ?
|
View Answer
|
|
What is 77 level used for ?
|
View Answer
|
|
What does the INITIALIZE verb do?
|
View Answer
|
|
What are the different data types available in COBOL?
|
View Answer
|
|
Name the divisions in a COBOL program.
|
View Answer
|