how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?

Answer Posted / rana

COMP1 and COMP2 are the Single precision (Full word - 4
bytes) and Double precision (Double word - 8 bytes)
respectively.
They don't contain the Picture Clause.

COMP-3 will contain 8 Bytes.

Is This Answer Correct ?    30 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

712


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.

1783


How do u write test cases?

1638


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

732


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.

5693






Explain how you can characterize tables in cobol?

638


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8657


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

744


Write some characteristics of cobol as means of business language.

619


Which Search verb is equivalent to PERFORM…VARYING?

686


How many sections are there in data division in COBOL?

678


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

1614


Define static linking and dynamic linking.

669


Write the code implementing the perform … varying.

646


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1958