what is a zoned decimal data type and how it will be stored?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / krishnan a
zoned decimal data type pix 9(2).
ex:
01 var1.
02 a pic 9(2).
here 9 is a zoned decimal data type.
it is a numeric field.
| Is This Answer Correct ? | 1 Yes | 1 No |
Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER
how do you reference the fixed unblock file formats from cobol programs
what is the difference between COBOL2 AND COBOL390?
What is redefines clause in COBOL?
how to resolve the file status 47.......
i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?
Can we use icetool in cobol program?
how to access vsam files in cobol and how to differentiate that this is ESDS file
i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?
How will 128 be saved in s9 (3) comp-3 How will 12 be saved in s9 (2) comp
1.Can we define condition-name conditions in FD entry.
What does EXIT do ?