To access the 4GL Editor (led)

  1. From the Environment Utilities menu, select Programmer Utilities.
  2. From the Programmer Utilities menu, select Program Maintenance Tools.
  3. Select 4GL Editor.

    - or -

    Press Define (F6) on the Program Definition form, and select 4GL Source.

  4. In the Product Line field, type or Select (F4) the Product Line.
  5. In the Program field, type or Select (F4) the 4GL program segment or library file to edit.
  6. Press OK.

    - or -

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

    led [-elrb] [+{n}] [-o file] [productline] [program | libname]

    Choose To
    e Allow the Editor to take on text (lx) personality.
    l Open a library instead of a program.
    r Open the file as read only, regardless of platform permissions.
    b Open at a previously defined bookmark.
    +{n} Open the file starting at line number n.
    o Open with option file file instead of the default.

    The Open Options menu appears.

    For more information on editing Procedure Division, Working Storage, Form format, Form Rules, and Object Rules files, see Doc for Developers: Application Development Workbench Standards.

    Choose To To
    Procedure Description Open the procedure description program you selected.
    Working Storage Open the working storage file for the program you selected.
    Form Format Open the form file for the program you selected.
    Form Rules Open the form rules (.sr) file for the system code of the program you selected.
    Object Rules Open the object rules (.or) file for the system code of the program you selected.
    Program Libraries Open a library file associated with the program you selected. For more information, see Opening Library Files.
    Error Log Open the error log for the program you selected.
    New Program Return to the Program to Edit form and choose a new program.
    New Library Open the Library to Edit form and choose from any library in the product line. For more information, see Opening Library Files.
    Open File Open a file using the text (lx) personality. For more information, see Accessing the Lawson Editor.