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
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What are the different rules to perform a Search?
how do you reference the esds vsam file formats from cobol programs
What are the different types of condition in cobol and write their forms.
what happens if parmparameter passes zero bytes to the program
What the difference is between continue and next sentence?
Name some of the examples of COBOl 11?
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
What is link edit in cobol?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is the difference between Call and a Link?
In COBOL programming, what is PERFORM? What is VARYING?
Write a program to enter and display the names of students in a class using the occurs clause.
What is comp-1 and comp-2?