What is Redefines clause?

Answer Posted / sudhakar koppavarapu

Redefines clause allows a programmer to give different data
descriptions to the same area of storage.



syntax:

LevelNumeber Identifier1 REDEFINES identifier2.


01 A PIC X(7).
01 B REDEFINES A PIC 9(5)V9(2).

Is This Answer Correct ?    24 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

HOw can I get the negative sign while deduct high value from low value

1794


explain sorting techniques in cobol program?

692


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1876


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

710


What rules are followed by the search verb.

638






how to move the records from file to array table. give with code example

2223


Which division and paragraphs are mandatory for a COBOL program?

712


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

2337


Write a program that uses move corresponding.

676


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

686


How you can read the file from bottom?

660


Explain what you understand by passing by value.

704


What are all the divisions of a COBOL program?

667


what is search and searchall?what is the diffrence between them?give an best example?

5563


how do you reference the ksds vsam file formats from cobol programs

669