IBM COBOL400 Question:

Download Job Interview Questions and Answers PDF

What is redefine and its syntax?

IBM COBOL400 Interview Question
IBM COBOL400 Interview Question

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 Interview Questions And Answers PDF

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?