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 / jaganmohanreddy
var1 will be abcde
var2 will be 0000000000
| Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
What is static and dynamic call in cobol?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is the difference between PIC 9.99 and 9v99 in COBOL?
Explain how you can characterize tables in cobol?
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.
how do you reference the variable block file formats from cobol programs
What is the difference between binary search and sequential search?
What are 77 levels used for?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What is the difference between next sentence and continue in cobol programing language?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Difference between cobol and cobol-ii?
Discuss about changing dataset name in proc.
what is the difference between COBOL2 AND COBOL390?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?