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 to remove 2 duplicate records and copy only one using job control language?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
How you can read the file from bottom?
Difference between cobol and cobol-ii?
Write some characteristics of cobol as means of business language.
Define static linking and dynamic linking.
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is the difference between binary search and sequential search?
What is static and dynamic call in cobol?
What is the difference between goback, stop run and exit program in cobol?
How do u write test cases?
What rules are followed by the search verb.
how do you reference the variable block file formats from cobol programs