set command
SET
SET
Command:
SET
Syntax:
SET <target-variable> TO <source-data>.
Description:
The SET command sets the contents of target-variable equal to the contents of
source-data. In CobolScript, MOVE is preferred to SET.
For COBOL programmers, note that CobolScript SET is not equivalent to the COBOL SET command.
Example Usage:
SET var1 TO var2.
See Also:
MOVE
Sample Program:
SET.CBL