CONVERT phrase

HP COBOL programs allow numeric or numeric edited receiving fields on the ACCEPT statement by default.

With ACUCOBOL-GT in HP COBOL compatibility mode, the CONVERT phrase is implied on numeric ACCEPT statements. When the "-Cp" option is specified, the compiler sets the variable AUTO_CONVERT to "TRUE".

ACUCOBOL-GT, in the default mode, requires that you use the CONVERT phrase on the ACCEPT statement, or use the "-Vc" compiler option that sets the variable AUTO_CONVERT to "TRUE".

For details, see Format 1, syntax rule 1 in ACCEPT Statement.