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
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Write down the divisions of cobol program?
What is rmode(24)
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is the usage of comp fields in cobol?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
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
What is amode(24)?
What are 77 levels used for?
Can we redefine the field of x(200) to less than 200?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Why occurs cannot be used in 01 level in COBOL?
What is amode(31)
what is difference between cobol and cobol/400
What is the difference between PIC 9.99 and PIC9v99?