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 do u handle errors in BMS macro
HOw can I get the negative sign while deduct high value from low value
What the difference is between continue and next sentence?
) how do u code after getting data?
Difference between array and sub-script ?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How to remove 2 duplicate records and copy only one using job control language?
example for sub strings ? and refernce modifications whit output pls
Why did you choose to work with ibm mainframe cobol programming?
how do you reference the rrds file formats from cobol programs
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How do u write test cases?
What is Pic 9v99 Indicates in COBOL?
What is the difference between a binary search and a sequential search what are the pertinent cobol?