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 is the difference between comp and comp-3?

887


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1879


How to know whether the module is dynamical or statistical?

860


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6078


Name the sections present in data division.

895


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1072


What is the compute verb? How is it used?

847


How do u write test cases?

1815


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

2178


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3941


Which Search verb is equivalent to PERFORM…VARYING?

853


Define cobol?

1067


What kind of error is trapped by on size error option?

949


What is the difference between binary search and sequential search?

849


What is amode(31)

904