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
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What is the Purpose of Pointer in the string?
What are literals?
What are the different types of condition in cobol and write their forms.
What kind of error is trapped by on size error option?
What is static and dynamic call in cobol?
What is perform what is varying?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
what is the use of outrecord?
What are all the divisions of a COBOL program?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Can we change the password using ALTER? anyone tried and changed?