Printing Data File Text

Data file text provides information important to a technical user about application data files, including:

  • the kind of record each data file contains

  • information about the data that is stored in each file field

  • the purpose of each file index

Print Data File Text lets you create a document of data file text for an application. This document includes form formats (both online and batch), indexes, and error messages. It also converts name definitions to RPG or COBOL.

  1. On UNIX or Windows, from the Lawson Environment menu, choose Application Text menu, and then choose Print Data File Text. (You can also type lapm dbdoc at the command line.)

    On IBM i, use Form Transfer (F8) to transfer to dbdoc.

    Note: When printed without options, this document has several sections and can get very large.
  2. In the Print Data File Text window, type or select the following data.
    Program Options

    i (Print Index Only)

    This option prints a list of indexes for the selected system.

    n (Do Not Print Detail Columns)

    This option does not print the information about where a file or index is used (Used In column), or which program updates the selected files or indexes (Updated By column).

    c (COBOL (Default))

    This option prints name definitions for COBOL names.

    r (RPG)

    This option prints name definitions for RPG names.

    e (Print Items Without Document Text)

    This option prints messages that tell you about missing document text.

    p (Print Cover, Copyright, File Listing by Name, and File Listing by Prefix)

    This option prints a cover page with a copyright, a file listing by name, and a file listing by prefix.

    Product Line

    The product line you want to create a data file document for.

    System Code

    The system code you want to create a data file document for.

    File Names

    The files names you want to create a data file document for. You can type or select up to 24 file names.

    Leave this field blank to include all files in the selected system code.

    I/O Options

    Optional. Lets you redirect output to the form or a file.

  3. Press OK (Enter) to create the data file document.