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 / s.v.venkata sivaprasad
redefines will reuse the memory with irrespective of date
type var1 is abcde and var2 also abcde.
| Is This Answer Correct ? | 22 Yes | 0 No |
Post New Answer View All Answers
What is inspect in cobol ?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Explain the configuration section of a cobol program with examples of syntax.
What are the access modes of START statement?
example for sub strings ? and refernce modifications whit output pls
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Write a program to enter and display the names of students in a class using the occurs clause.
What are the pertinent COBOL commands?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
State the various causes of s0c1, s0c5 and s0c7.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
) How do u handle errors in BMS macro
how to access the file from prodution from changeman tool and to submit a file to production
HOw can I get the negative sign while deduct high value from low value
What is redefines clause in COBOL?