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

Both will be having the same value but the only difference
is when we use airthmetic operation then it will take hex
value .. I do think I am correct but kindly correct me if i
am mistaken.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

897


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

866


What are the different rules to perform a Search?

813


how do you reference the esds vsam file formats from cobol programs

872


What are the different types of condition in cobol and write their forms.

871


what happens if parmparameter passes zero bytes to the program

1877


What the difference is between continue and next sentence?

870


Name some of the examples of COBOl 11?

2881


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

983


What is link edit in cobol?

944


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

8669


What is the difference between Call and a Link?

889


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

866


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

921


What is comp-1 and comp-2?

936