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

Mention the guidelines to write a structured cobol program?

603


What is the compute verb? How is it used?

651


What is the difference between PIC 9.99 and 9v99 in COBOL?

727


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2323


What is the difference between structured cobol programming and object alternativelyiented cobol?

746






Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

812


What rules are followed by the search verb.

629


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

634


What type of SDLC u followed? Why?

1514


Name some of the examples of COBOl 11?

2673


How to know whether the module is dynamical or statistical?

649


What are literals?

622


What is difference between static and dynamic call in cobol?

767


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

1921


What is link edit in cobol?

735