Open yutaro-sakamoto opened 1 year ago
STOP statements in the following program do nothing.
STOP
****************************************************************** IDENTIFICATION DIVISION. ****************************************************************** PROGRAM-ID. TEST41. AUTHOR. USER01. DATE-WRITTEN. 2023-05-10. ****************************************************************** ENVIRONMENT DIVISION. ****************************************************************** DATA DIVISION. ****************************************************************** WORKING-STORAGE SECTION. * 01 WK1 binary-long. ****************************************************************** PROCEDURE DIVISION. ****************************************************************** STOP "A". STOP "ー". STOP " ".
Although GnuCOBOL supports STOP statement with a literal, opensource COBOL does not support the function. The priority of implementing the function is low.
STOP
statements in the following program do nothing.