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


Please Help Members By Posting Answers For Below Questions

Write a cobol program making use of the redefine clause.

739


) what is the difference between AID and HANDLE AID?

1637


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

644


how do you reference the printer file formats from cobol programs

668


How do you get the data to code the BMS macro?

1476






What is rmode(any) ?

686


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

678


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

681


How do we get current date from system with century in COBOL?

807


What are different data types in cobol?

694


Explain the configuration section of a cobol program with examples of syntax.

661


Difference between array and sub-script ?

1169


What is the difference between structured cobol programming and object alternativelyiented cobol?

757


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.

2014


What is a report item?

741