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
how do you reference the variable block file formats from cobol programs
What is amode(31)
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
what are decleratives in cobol?
How to remove 2 duplicate records and copy only one using job control language?
how do you reference the printer file formats from cobol programs
What is the difference between perform … with test after and perform … with test before?
What is a SSRANGE and NOSSRANGE?
What is the compute verb? How is it used?
Write a program to enter and display the names of students in a class using the occurs clause.
what is search and searchall?what is the diffrence between them?give an best example?
What is the difference between structured cobol programming and object alternativelyiented cobol?
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
Explain the configuration section of a cobol program with examples of syntax.
How to know whether the module is dynamical or statistical?