Accessing the Lawson Editor

Note: The first time you open Lawson Editor, a dialog box lets you to set user defaults. If you choose cx/ced, Lawson Editor matches defaults from the Environment as closely as possible. If you choose lx/led, Lawson Editor opens with the new defaults.

To access Lawson Editor (lx)

  1. From the Environment Utilities menu, select Programmer Utilities.
  2. From the Programmer Utilities menu, select Program Maintenance Tools.
  3. Select Lawson Editor. The Initial File to Edit window appears, with the current directory in the Directory field.
  4. Type in a file name from the current directory.

    - or -

    Press Select (F4) and choose a file. Use the ../ selection to change directories.

  5. Press OK.

    - or -

    At the command line, type lx and the desired options from the following table.

    lx [-grbn] [+{n}] [-o file] [-T tagfile] [-t tag] [filename...]

    Choose To
    g Allow the Editor to take on the 4GL (led) personality.
    r Open the file as read only, regardless of Lawson Editor’ permissions.
    b Open at a previously defined bookmark.
    n Open the next file in the command string when the last open file is closed.
    +{n} Open the file starting at line number n.
    o Open with option file file instead of the default. For more information, see the section, Changing the User Options.
    T Search for tags in the file tagfile first.
    t Open the file at a defined tag.

    The file you selected appears in the Editor.