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

it display answer is xyxy
first xy for a and second xy for b.
only b will use same memory area it doesn't consider type of
datatype

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define static linking and dynamic linking.

662


What is the difference between external and global variables in COBOL?

813


Write some characteristics of cobol as means of business language.

619


Write a program to enter and display the names of students in a class using the occurs clause.

652


Describe the cobol database components?

680






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.

2055


Which mode is used to operate the sequential file?

660


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

1931


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

698


What rules are to be followed while using the corresponding options?

637


How to remove 2 duplicate records and copy only one using job control language?

748


In COBOL programming, what is PERFORM? What is VARYING?

670


how do you reference the variable block file formats from cobol programs

683


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

701


how to convert the recors form vsam file to db2 table tru file aid

2761