Consider the following:

77 A PIC 9(10)
77 B PIC 9(10)
77 C PIC 9(19)

MULTIPLY AB BY B GIVING C

Which of the following is true ?

(a) The execution of the above may result in size error.
(b) The execution of the above will result in size error.
(c) The definition of C is invalid resulting in compilation
error.
(d) No error will be thee and the program would proceed
correctly.

Answer Posted / abinand shetty

re c is the correct one as maximum numerical declaration
can be 9(18) .so above will result in compilation error

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define static linking and dynamic linking.

669


What are 77 levels used for?

661


IF I mention stop run in CICS what happens?

1898


What is the difference between perform … with test after and perform … with test before?

885


What are the different rules to perform a Search?

619






2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2122


What is amode(31)

726


What is the Purpose of Pointer in the string?

643


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

696


how do you reference the esds vsam file formats from cobol programs

634


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


What are the access modes of START statement?

719


What is the difference between Global and External Variables?

666


Give some examples of command terminators?

759


how do you reference the printer file formats from cobol programs

668