what is a zoned decimal data type and how it will be stored?

Answer Posted / app

Zoned decimal is the numeric format used for display usage.
For an unsigned field the digits in the field are
represented by EBCDIC code (F0 thru F9).In a signed number
the zoned bit in the right mosted byte of the field are
either hex C for postive or hex D for negative.

eg:F0 F0 F1 F2 F3 unsigned 234

F0 F0 F1 F2 C3 signed +234
F0 F0 F1 F2 D3 signed -234

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is difference between cobol and cobol/400

21546


What is the difference between binary search and sequential search?

633


Name the divisions, which are available in a cobol program?

675


Give some examples of command terminators?

749


What rules are to be followed while using the corresponding options?

627






what is s000 u4087 error? please give the all error codes in cobol,jcl.

17014


What is the Purpose of Pointer in the string?

633


What is the difference between structured cobol programming and object alternativelyiented cobol?

746


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1579


What the difference is between continue and next sentence?

651


What is the Purpose of POINTER Phrase in STRING command in COBOL?

710


What is the usage of comp fields in cobol?

645


What is the difference between external and global variables in COBOL?

804


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

792


How to print 10 to 1 if the input have only 10 digit number?

802