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 / anu
c. since maximum digits for numeric data type is 18 only.
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What are the different rules of SORT operation?
IF I mention stop run in CICS what happens?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What are the cobol coding sheets?
What is length is cobol?
Define cobol?
What are the pertinent COBOL commands?
how do you reference the variable block file formats from cobol programs
How do you reference the following file formats from cobol programs?
What are the different rules for performing sort operation?
what is the use of outrecord?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Name the divisions, which are available in a cobol program?
What is the default value(s) for an initialize and what keyword allows for an override of the default?