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
Name the divisions, which are available in a cobol program?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Can we redefine the field of x(200) to less than 200?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
how do you reference the esds vsam file formats from cobol programs
What is link edit in cobol?
what is search and searchall?what is the diffrence between them?give an best example?
What is perform what is varying?
What is a SSRANGE and NOSSRANGE?
What is report-item in COBOL?
Differentiate between structured cobol programming and object-oriented cobol programming.
what is difference between cobol and cobol/400
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How do get the result of your program directly on your pc?