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 |
What are the different data types available in COBOL?
what is mainframe? what is the mainframe software ? what is use in s/w field?
what is the difference between implicit and explicit scope terminator with example?
what is srange and nosrange pls reply to ths question ?
how the control comes back from subprogram to mainprogram
Q:what is the difference between the variable length and fixed lenght.how it varies in the cobol.
Why there is no questions in this column?
I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5. Sub program is passing 5 parameters back to main program Will there be any compilation error? Or main program parameters displays junk values?
What is Comm?
2 Answers IBM, Kemper Corporation,
What is the point of the REPLACING option of a copy statement?
How do u initialize an array?
What R 2 of the common forms of the EVALUATE STATEMENT ?