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

how do you reference the variable unblock file formats from cobol programs

737


how do you reference the ksds vsam file formats from cobol programs

650


Why would you use find and get rather than to obtain?

677


What is rmode(any) ?

677


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8149






Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1693


Discuss about changing dataset name in proc.

757


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1915


What is the utilization of copybook in cobol?

650


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

1470


How to remove 2 duplicate records and copy only one using job control language?

732


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1896


What is link edit in cobol?

737


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

668


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

813