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
Define static linking and dynamic linking.
What are 77 levels used for?
IF I mention stop run in CICS what happens?
What is the difference between perform … with test after and perform … with test before?
What are the different rules to perform a Search?
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
What is amode(31)
What is the Purpose of Pointer in the string?
How do you reference the following file formats from cobol programs?
how do you reference the esds vsam file formats from cobol programs
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What are the access modes of START statement?
What is the difference between Global and External Variables?
Give some examples of command terminators?
how do you reference the printer file formats from cobol programs