What is COMP-1? COMP-2?
Answers were Sorted based on User's Feedback
Answer / mahathiaz
COMP-1 - Single precision floating point. Uses 4 bytes.
COMP-2 - Double precision floating point. Uses 8 bytes
Is This Answer Correct ? | 19 Yes | 0 No |
Answer / karan
comp-1 is single floatig item where as
comp-2 is double floating item.
comp-1,comp-2 we are not using pic clause.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / purushothr
comp 1:single precision floating point//4 bytes
comp 2:double precision floating point//8 bytes
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / jay
COMP1 - Single precision floating point. Uses 4 bytes.
COMP2 - Double precision floating point. Uses 8 bytes
Is This Answer Correct ? | 0 Yes | 0 No |
What are decleratives in COBOL ?
If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??
where will we code call by content and call by reference dude pls reply soon ?
How many bytes will be allocated for the following record description entries? 01 REC-A. 05 A PIC S9(4). 05 B PIC XXXBXXX. 05 C PIC ____9.99. 05 D PIC S9(5) COMP-3. 05 E PIC 9(3) COMP.
16 Answers IBM, TCS,
What is the different between index and subscript?
File status must be checked both while opening and reading the file or only while reading the file?
wht is the difference between goto and perform stmts
how can you identify wheather the program is using search or search all in the cobol program?
What is the difference between a DYNAMIC and STATIC call in COBOL?
What do you understand by psb and acb?
01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?
At the minimum, which division of COBOL is enough to be coded?