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
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Can a Search can be done on a table with or without Index?
What is difference between static and dynamic call in cobol?
Can we redefine the field of x(200) to less than 200?
How you can characterize tables in cobol?
For rewrite, why is it mandatory that file needs to be opened?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Explain what you understand by passing by value.
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Write the code to count the sum of n natural numbers.
Why would you use find and get rather than to obtain?
how do you reference the rrds file formats from cobol programs
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
How are the next sentence and continue different from each other?
In COBOL, what is the different between index and subscript?