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

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.

1969


In COBOL, what is the different between index and subscript?

959


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

916


Define static linking and dynamic linking.

877


Describe the cobol database components?

900


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

895


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

937


what is difference between cobol and cobol/400

22161


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

974


What is the difference between goback, stop run and exit program in cobol?

1240


What is report-item in COBOL?

901


A table has two indexes defined. Which one will be used by the SEARCH?

1028


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

841


What is the utilization of copybook in cobol?

892


What is a report item?

914