what is redefine and its syntax?

Answer Posted / unknown

REDEFINE is a Cobol Verb.

It is similar to RENAME Verb.
It uses the same WORKING-STORAGE memory of a data name
With another data name programmer want instead.

Syntax.

WORKING-STORAGE SECTION.
01 WS-NAME PIC x(15).
01 WS-AGE PIC 99.
05 NAME REDIFINES WS-NAME.

Is This Answer Correct ?    29 Yes 63 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

552


What is output procedure?

543


Define sort?

581


What is sort? And its syntax?

669


What is the syntax of sort?

539






Explain the input procedure and output procedure?

521


I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks

2064


What is comp?

549


Define perform? And its types?

504


Define perform?

519


Explain the input procedure?

535


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

531


What are fillers?

531


What is input procedure?

578


seqence numbers in cobol

2660