Skip to main content

In one version of RM cobol accept statements do not display the contents of the identifier. In Microfocus RM cobol accepts statement display the contents of the identifier. Has anyone found a way to turn this off, or do I need to move spaces to the identifier before?

In one version of RM cobol accept statements do not display the contents of the identifier. In Microfocus RM cobol accepts statement display the contents of the identifier. Has anyone found a way to turn this off, or do I need to move spaces to the identifier before?

Are you attempting to migrate from RM/COBOL to Micro Focus Visual COBOL?  If not, we probably need a bit more context for your question.  In RM/COBOL, the UPDATE phrase controls the behavior of displaying the existing contents.


In one version of RM cobol accept statements do not display the contents of the identifier. In Microfocus RM cobol accepts statement display the contents of the identifier. Has anyone found a way to turn this off, or do I need to move spaces to the identifier before?

For programs that were originally RM/COBOL, the RM2VCOB configuration needs to be selected in the ADISCTRL file (on Windows or UNIX).

On UNIX, the adisctrl file is often in /etc and not writable; to change the default configuration (using the adiscf utility), it is generally best to copy the adisctrl file to your working directory as a writable copy and then choosing the RM2VCOB or ACU2VCOB configuration as the default, which requires rewriting the file.

On Windows, the adisctrl file should be under etc in your Visual COBOL installation directory.

The RM2VCOB configuration has "Enable/Disable auto-clear or pre-clear." set to pre-clear without undo.   That's probably what you want.


In one version of RM cobol accept statements do not display the contents of the identifier. In Microfocus RM cobol accepts statement display the contents of the identifier. Has anyone found a way to turn this off, or do I need to move spaces to the identifier before?

For programs that were originally RM/COBOL, the RM2VCOB configuration needs to be selected in the ADISCTRL file (on Windows or UNIX).

On UNIX, the adisctrl file is often in /etc and not writable; to change the default configuration (using the adiscf utility), it is generally best to copy the adisctrl file to your working directory as a writable copy and then choosing the RM2VCOB or ACU2VCOB configuration as the default, which requires rewriting the file.

On Windows, the adisctrl file should be under etc in your Visual COBOL installation directory.

The RM2VCOB configuration has "Enable/Disable auto-clear or pre-clear." set to pre-clear without undo.   That's probably what you want.


In one version of RM cobol accept statements do not display the contents of the identifier. In Microfocus RM cobol accepts statement display the contents of the identifier. Has anyone found a way to turn this off, or do I need to move spaces to the identifier before?

Larry, thanks for the tip.