Consider the following code:
77 A PIC 99V99 VALUE 55.35
77 B PIC 99V999 VALUE 32.754
ADD B TO A ON SIZE ERROR DISPLAY "ERROR!!!"
What will be the result ?
(a) A=88.10, B=32.754
(b) A=87.00 B=32.754
(c) A=87.10 B=32.754
(d) ERROR!!! will be DISPLAYed on the screen.
Answer Posted / milind
The previous answer is wrong.
The correct answer is (a) 88.10.
| Is This Answer Correct ? | 18 Yes | 4 No |
Post New Answer View All Answers
How you can characterize tables in cobol?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
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 the difference between a binary search and a sequential search what are the pertinent cobol?
Explain how you can characterize tables in cobol?
Explain about different table spaces.
what is the use of outrecord?
how do you reference the variable block file formats from cobol programs
What is a report item?
i need a small 3d program using inline and outline.
How to know whether the module is dynamical or statistical?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
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