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 / merguadithya111

var1 is abcde

var2 is also abcde

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

750


What are the different rules of SORT operation?

689


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1515


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2716


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

807






What is the difference between goback, stop run and exit program in cobol?

914


Name some of the examples of COBOl 11?

2671


Which mode is used to operate the sequential file?

654


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

724


Write a program that uses move corresponding.

664


How to know whether the module is dynamical or statistical?

648


what happens if parmparameter passes zero bytes to the program

1650


What is inspect in cobol ?

791


Can you please let me know the centre name of INS certification in Kolkata.

1708


What are all the divisions of a COBOL program?

658