Does subscripting enable one to use loops in PROCEDURE DIVISION of a COBOL program. If not will it give a error if a programmer use like that. In such a situation what would be the error thrown.
Printable View
Does subscripting enable one to use loops in PROCEDURE DIVISION of a COBOL program. If not will it give a error if a programmer use like that. In such a situation what would be the error thrown.
The subscripting does not allow one to use loops in PROCEDURE DIVISION of a COBOL program. It will surely throw error. But I am not aware of what is the exact error thrown. Let us wait for someone to post that in this discussion.