01 var1 pic x(10)
01 var2 redefines var1 pic 9(10).

then in procedure division

move 'abcde' to var1 then waht is the value of var1 and var2

Answer Posted / jaganmohanreddy

var1 will be abcde
var2 will be 0000000000

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define cobol?

955


Can we redefine the field of x(200) to less than 200?

919


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.

2128


What are the different rules for performing sort operation?

825


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

724






I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2003


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

742


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1065


) How do u handle errors in BMS macro

1570


What are all the divisions of a COBOL program?

730


What are the various section in data division and briefly explain them.

786


What is the difference between binary search and sequential search?

708


What are the different rules of SORT operation?

763


Write down the divisions of cobol program?

727


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

788