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
Mention the guidelines to write a structured cobol program?
What is the compute verb? How is it used?
What is the difference between PIC 9.99 and 9v99 in COBOL?
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
What is the difference between structured cobol programming and object alternativelyiented cobol?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What rules are followed by the search verb.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What type of SDLC u followed? Why?
Name some of the examples of COBOl 11?
How to know whether the module is dynamical or statistical?
What are literals?
What is difference between static and dynamic call in cobol?
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 link edit in cobol?