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
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is comp-1 and comp-2?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
What is the difference between binary search and sequential search?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is the difference between perform … with test after and perform … with test before?
How do u write test cases?
Can we change the password using ALTER? anyone tried and changed?
What is the difference between goback, stop run and exit program in cobol?
What is redefines clause in COBOL?
Write the code implementing the perform … varying.
What is a SSRANGE and NOSSRANGE?
What is the difference between PIC 9.99 and PIC9v99?
how do you reference the printer file formats from cobol programs