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
Define cobol?
Can we redefine the field of x(200) to less than 200?
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.
What are the different rules for performing sort operation?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What is the difference between comp and comp-3 usage?
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
) How do u handle errors in BMS macro
What are all the divisions of a COBOL program?
What are the various section in data division and briefly explain them.
What is the difference between binary search and sequential search?
What are the different rules of SORT operation?
Write down the divisions of cobol program?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?