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
Write a cobol program making use of the redefine clause.
) what is the difference between AID and HANDLE AID?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
how do you reference the printer file formats from cobol programs
How do you get the data to code the BMS macro?
What is rmode(any) ?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
How do we get current date from system with century in COBOL?
What are different data types in cobol?
Explain the configuration section of a cobol program with examples of syntax.
Difference between array and sub-script ?
What is the difference between structured cobol programming and object alternativelyiented cobol?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
What is a report item?