what is redefine and its syntax?

Answer Posted / siri

REDEFINES :- IT IS USED TO REUSE THE SPACE FROM THE FIRST BYTE
ON WORDS....
*REDEFINING AND REDEFINING FIELDS ARE MUST BE AT SAME LEVEL
NOS..
*REDEFINING THE MEMORY MUST BE SAME OR SORTER..
*SIZE OF THE REDEFINE AND REDEFINING FIELDS NEED NOT BE SAME..
*MULTIPLE REDEFINES ARE POSSIBLE....

SYNTAX :- WORKING-STORAGE SECTION.
01 A PIC X(10) VALUE'SIRIANITHA'
01 B REDEFINES A PIC X(2)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to detect record is locked in cobol/400? What is the solution for that?

518


Explain the difference between section, paragraph and sentences?

503


What is sort? And its syntax?

663


Define redefine and its syntax?

533


What is comp?

547






Define redefine?

552


What is output procedure?

534


Explain what all the conditiones required for using open opcode on a file?

496


What is sort?

530


What are fillers? What is the actual use of fillers? With mall/simple example?

544


seqence numbers in cobol

2652


why icetool be used in programmer view?

2134


Explain the input procedure and output procedure?

512


Explain the difference between search and searchall?

507


Explain how to convert 2010/02/11 to m/dd/yyy.. With string and without string if any other method... Code?

637