What is the difference between comp and comp-3 usage?
Explain other COBOL usage?s.

Answer Posted / sultana

Usage Clause :COMP
Binary representation of data item.
PIC clause can contain S and 9 only.
S9(01) – S9(04) Half word.
S9(05) – S9(09) Full word.
S9(10) - S9(18) Double word.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different rules of SORT operation?

699


What do you understand by psb and acb?

666


How arrays can be defined in COBOL?

663


how do you reference the printer file formats from cobol programs

665


Define static linking and dynamic linking.

669






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

1547


What is the difference between PIC 9.99 and 9v99 in COBOL?

732


what is amode(24), amode(31), rmode(24) and rmode(any)?

703


what is the difference between COBOL2 AND COBOL390?

2453


Why would you use find and get rather than to obtain?

690


What are the cobol coding sheets?

664


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6831


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

945


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

710


Write a program to enter and display the names of students in a class using the occurs clause.

654