Why we are using comp and comp-3 in real time projects?

Answer Posted / harsha

Mostly COMP is used for counter fields or for Subscripts.
COMP-3 is mostly used in all sort of arithmatic
calculations.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we redefine the field of x(200) to less than 200?

1073


What is the compute verb? How is it used?

840


What do you understand by psb and acb?

832


How do you get the data to code the BMS macro?

1676


Define static linking and dynamic linking.

856






Differentiate between structured cobol programming and object-oriented cobol programming.

820


What is the problem of ordered sequential files access?

892


Write the code to count the sum of n natural numbers.

903


how do you reference the variable unblock file formats from cobol programs

985


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1012


Mention the guidelines to write a structured cobol program?

801


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.

1336


Can we change the password using ALTER? anyone tried and changed?

1725


What rules are to be followed while using the corresponding options?

817


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

903