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 / prasanna
A and B are two different variables and there is no
variable declared as AB. Do COBOL has enough knowledge to
identify and multiply the vaiable A and the variable B,
then by B giving the result in C. I don't think so.
Kindly correct me if I am wrong..
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is the difference between Global and External Variables?
Discuss about changing dataset name in proc.
Which is not true about evaluate statement
Write a cobol program making use of the redefine clause.
Describe the cobol database components?
Why occurs cannot be used in 01 level in COBOL?
What guidelines should be followed to write a structured cobol prgm?
Are you comfortable in cobol or jcl?
What are the pertinent COBOL
what is the difference between COBOL2 AND COBOL390?
What are the access modes of START statement?
In which area will you utilize 88 level items in cobol?
What is the utilization of copybook in cobol?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
What is link edit in cobol?