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 report-item in COBOL?

702


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

697


What are the different types of condition in cobol and write their forms.

649


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

698


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.

5663






How do you reference the following file formats from cobol programs?

689


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

648


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1691


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1605


i need a small 3d program using inline and outline.

1629


What are the cobol coding sheets?

655


) How do u handle errors in BMS macro

1498


What guidelines should be followed to write a structured cobol prgm?

662


Discuss about changing dataset name in proc.

757


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8139