01 xxx pic 9(4).
01 yyy pic 9(6).

move 123456 into yyy.
move yyy to xxx.

display yyy.

what would be the value of yyy

Answer Posted / nagarajeswari

output will be 3456

Is This Answer Correct ?    9 Yes 16 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.

2010


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8167


What is redefines clause in COBOL?

851


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

744


Have you used comp and comp-3 in your project? And how?

2008






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

720


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1024


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

945


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.

1783


Why would you use find and get rather than to obtain?

690


How can you get the ksds file records into your cobol program?

644


What is difference between static and dynamic call in cobol?

777


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

676


What is the difference between PIC 9.99 and PIC9v99?

781