Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What is the purpose of the SET statement in COBOL?
Answer: The SET statement in COBOL is used to assign values to index names, condition names, and other special registers. It is essential for controlling program flow.

Example:

SET EMPLOYEE-INDEX TO 1.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook