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 |
How to concatenation one or more string?
What is the LINKAGE SECTION used in COBOL?
What is difference between com and com3? Eg. s9(4) so what is the memory it will occupy com and com3.
can anyone explain me the concept of COMP-4 PLEASE??
What are the two search techniques ?
Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all
How many bytes do a s9 (7) comp-3 field occupy?
A paragraph PARA-X is to be executed when none of the data names A, B and C have value of 1. Which of the following will achieve this ? (a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X (B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X (C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X (C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X
How may divisions are there in JCL-COBOL?
How can you get the ksds file records into your cobol program?
I have a sequential file. How do I access a record in this sequential file randomly in my program ?
what is the difference between start and startbr?