can u give result for the fallowing example...
05 a pic 9(2)
05 b redifines a pic x(2).
move 'xy' to b.
display a,b.

Answer Posted / ashok kumar

Dharma,
answer is correct , its both have xy only.

i pratically done that prog

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1840


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

706


What is rmode(24)

676


What is report-item in COBOL?

705


What is the difference between comp and comp-3 usage?

674






How do you define a variable of comp-1 and comp-2?

701


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

700


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

753


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17028


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

639


What are the different open modes available in cobol?

713


What is the difference between PIC 9.99 and PIC9v99?

774


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1767


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

670


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