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

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

647


What is comp?

551


Explain the syntax of sort?

561


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

554


What is sort? And its syntax?

671






What are the types of perform?

571


Explain the input procedure?

539


How to update data area in cobol 400 program?

579


What is the actual use of fillers?

503


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

531


Explain the syntax of redefine?

520


why icetool be used in programmer view?

2143


What is the syntax of sort?

543


What is perform?

539


What are fillers?

531