How is sign stored in Packed Decimal fields and Zoned
Decimal fields?
Answer Posted / escapa
In both sign is stored at last byte but
In PACKED Decimal is at last nibble where as in ZONED decimal sign is stored at higher nibble of last byte
Eg.
+1234 in zoned decimal it will be stored as F1 F2 F3 C4
-1234 in zoned decimal it will be stored as F1 F2 F3 D4
+1234 in PACKED decimal it will be stored as 01 23 4C
-1234 in PACKED decimal it will be stored as 01 23 4D
| Is This Answer Correct ? | 12 Yes | 4 No |
Post New Answer View All Answers
In COBOL, what is the different between index and subscript?
What type of SDLC u followed? Why?
What are the cobol coding sheets?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What is perform what is varying?
Write a cobol program making use of the redefine clause.
) How do u handle errors in BMS macro
What is the difference between Global and External Variables?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Which is not true about evaluate statement
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
What are the different rules of SORT operation?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Write some characteristics of cobol as means of business language.
Describe the cobol database components?