what is the use of comp2 ? where can we use it with example ?
Answer Posted / kumar
Internal representation of COMP 2 data type is Hexadecimal
requires double word for the data item to store. Used for
accurate calculations ( more precessions )
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the difference between comp and comp-3 usage?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Difference between array and sub-script ?
) how do u code after getting data?
What are the rules of the move verb?
Difference between cobol and cobol-ii?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How many bytes S(8) comp field occupy and its maximum value?
How do define dynamic array in cobol.
What is perform what is varying?
how do you reference the rrds file formats from cobol programs
State the various causes of s0c1, s0c5 and s0c7.
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.