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 / vel
a
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the Purpose of Pointer in the string?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
State the various causes of s0c1, s0c5 and s0c7.
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is the difference between Global and External Variables?
What kind of error is trapped by on size error option?
How many bytes S(8) comp field occupy and its maximum value?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is the difference between comp and comp-3?
What rules are followed by the search verb.
What are different data types in cobol?
what is search and searchall?what is the diffrence between them?give an best example?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc