Why we need to use redefine clause when we can define the
variable seperately... what is actual need....

Answer Posted / ashok

yes when ever we face two type of records in the file in
that we use this redefines i will expline that best example
o1 salse-record
05 salse-re
o2 qua pic x(04).
o2 unit-pric pic x(08).
05 amount redefine salse-re pic x(12).

in this eaither we get qandity and price or amount
nobothar about it .

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to refer the data field?

1812


What are 77 levels used for?

661


How to know whether the module is dynamical or statistical?

656


how to convert the recors form vsam file to db2 table tru file aid

2763


Explain what you understand by passing by value.

704






What is perform what is varying?

711


What are literals?

632


Mention the guidelines to write a structured cobol program?

620


What is the LINKAGE SECTION used in COBOL?

894


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

714


What are the pertinent COBOL

2045


What is cobol?

749


What are the different data types in cobol?

800


Can you please let me know the centre name of INS certification in Kolkata.

1717


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1958