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 / abinand shetty

a) 123.75

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

2005


What is amode(31)

716


What is an in line perform? When would you use it? Anything else you wish to say about it.

641


What is length is cobol?

645


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

712






how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1646


How many bytes S(8) comp field occupy and its maximum value?

1628


how can i see junk values in dclgen or in hostvariable of comp ?

2540


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

1950


In COBOL, what is the different between index and subscript?

753


How do you reference the following file formats from cobol programs?

693


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1586


Explain how you can characterize tables in cobol?

636


What is the difference between binary search and sequential search?

638


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

817