To number or renumber the lines in a COBOL source file that is open in the editor:
If the source code has not been previously numbered, Renumber numbers it.
You can use Undo to revert the changes.
You can configure your preferences for renumber and unnumber from Tools > Options > Text Editor > Micro Focus COBOL > Line Numbering.