How is sign stored in Packed Decimal fields and Zoned
Decimal fields?

Answer Posted / kavi

Packed Decimal fields: Sign is stored as a hex value in
the last nibble (4 bits ) of the storage.

Zoned Decimal fields: As a default, sign is over punched
with the numeric value stored in the last bite.

Is This Answer Correct ?    18 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different data types in cobol?

800


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10633


What is the difference between Call and a Link?

702


Write a program that uses move corresponding.

673


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?

1232






What is Pic 9v99 Indicates in COBOL?

729


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

1000


How you can read the file from bottom?

660


How to know whether the module is dynamical or statistical?

656


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

806


How do we get current date from system with century in COBOL?

807


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1949


Are you comfortable in cobol or jcl?

643


What are different data types in cobol?

694


What is the compute verb? How is it used?

663