Skip to Main Content
Status Released
Workspace NaturalONE
Categories NaturalONE (ONE)
Created by Guest
Created on Jul 15, 2021

NaturalOne: Linenr doesn't match with *LINE


we use the System Variable *LINE a lot. But there is the differenz between the Editor - and the executed code in a differnent enviroment.


In NaturalOne there are the Linenr increases with 1.

With the ant-Build the Linenr increases with 10, on long modules 5 or 2.

When an error raise up in Line 2450, I can't find the Line in NaturalOne.

Best regards,

Markus Wessjohann

Created on Brainstorm 09/20/2017 07:57 AM
Brainstorm ID 5252
  • Admin
    Eli Cohen
    Dec 1, 2021

    The line number can be displayed by switching on the Preference > Software AG > Natural > Editors > Source Editor > 'Text Editors'
    On the dialog you may select 'Show line numbers'.

    For NaturalONE, line numbering is always done based on line increment of 1. NaturalONE line numbers are different from natively line number on the server.

    Regardless of a potential unusual line number in an error message or *line, there is a command in NaturalONE available to go to the correct source line.

    Select from the ONE main menu Navigate > Goto Line number (see above).

  • Lukas Hundemer
    Nov 29, 2021

    Use CNTR "G" and enter the server line number. The editor will position to that line.