IBM COBOL400 Question:

What is redefine and its syntax?

Tweet Share WhatsApp

Answer:

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.

Download IBM COBOL400 PDF Read All 19 IBM COBOL400 Questions
Previous QuestionNext Question
How can i change the below code in SQL to cobol/400?
EXEC SQL SELECT COUNT(*) INTO : WS-COUNT FROM Db file
WHERE Field 1 = : WS-VAR AND
Field 2 = : WS-USERID
END-EXEC
What is INPUT PROCEDURE and OUTPUT PROCEDURE?