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

What is comp?

888


why icetool be used in programmer view?

2346


Explain the syntax of redefine?

681


Explain the input procedure and output procedure?

693


How to detect record is locked in cobol/400?

731


Define perform? And its types?

737


What is the syntax of redefine?

718


Define perform?

764


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

881


What is output procedure?

724


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

695


seqence numbers in cobol

2837


Explain the types of perform?

694


Define redefine?

863


Explain the input procedure?

702