what is the use of comp2 ? where can we use it with example ?
Answer Posted / smartboy
COMP-2 has double precision. Generally used in scientific
data calculations.
USAGE COMP-2 EXAMPLE.
A very simple practical example can be
If DB2 decleration of column is DOUBLE then we have to use
corresponding COBOL host variable as COMP-2
For float data type use COMP-1
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
what happens if parmparameter passes zero bytes to the program
Can you please let me know the centre name of INS certification in Kolkata.
What is amode(24)?
Can we change the password using ALTER? anyone tried and changed?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Describe the cobol database components?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What are the rules of the move verb?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
Write a program to enter and display the names of students in a class using the occurs clause.
what are decleratives in cobol?
What rules are followed by the search verb.
how do you reference the variable block file formats from cobol programs
What are the different open modes available in cobol?