consider two data items
77 W-A PIC 9(3)V99 VALUE 23.75
77 W-B PIC ZZ9V99 VLAUE 123.45
after the statement
MOVE W-A TO W-B
what will be W-B's value?
a.123.75
b.b23.75 (where b indicates space)
c.023.75
d.invalid move
Answer Posted / rama krishna
b. Z replaces the value zero with blank spaces....
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
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 PIC 9.99 and PIC9v99?
what is the difference between COBOL2 AND COBOL390?
What kind of error is trapped by on size error option?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What are various search techniques in cobol? Explain.
What is link edit in cobol?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is rmode(any) ?
HOw can I get the negative sign while deduct high value from low value
What are the different open modes available in cobol?
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
Explain what you understand by passing by value.
Can a Search can be done on a table with or without Index?
What are the rules of the move verb?