can anyone explain me the concept of COMP-4 PLEASE??

Answer Posted / sravani

comp& comp-4 are same. binary representation of data item. memory as like this
s9(1)-s9(4): half word that is 2 bytes
s9(5)-s9(9): full word that is 4 bytes
s9(10)-s9(18): double word that is 8bytes

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are various search techniques in cobol? Explain.

650


What is inspect in cobol ?

806


When is inspect verb is used in cobol?

679


What type of SDLC u followed? Why?

1522


how to refer the data field?

1812






What is the usage of comp fields in cobol?

660


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1775


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2340


What are the different rules for performing sort operation?

766


What are all the divisions of a COBOL program?

667


Write the code implementing the perform … varying.

648


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1962


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1914


Explain the configuration section of a cobol program with examples of syntax.

661


What are the pertinent COBOL commands?

2628