Previous Topic

Next Topic

Book Contents

Book Index

Basic %L Dynamic Extraction Parameters

The basic dynamic extraction parameter format is

%LlnCcn %

where

Note: For this exercise, you are using the % character as the actual Special Character symbol, but it can be a symbol of your choice other than %.

The ending % symbol may be placed any distance from the rest of the parameter. The number of columns from the beginning % symbol through the ending % symbol of a dynamic extraction parameter defines the number of columns extracted from the header line.

The first character of the extracted information appears in the same column number containing the beginning % symbol in the parameter.

For example, the dynamic extraction parameter format DTE: %L1C10 % resolves as follows:

Dynamic extraction parameters for this exercise can now be defined in the overlay line.

  1. Fill in the overlay line as follows (using the column numbering line as a guide).

    Figure 104 Filling the Overlay Line

    O ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+-

                    .                    .              .

    H                ----                    ---------------------------

    O  INVENTORY REPORT - WRHS: %L6C16%  DEPT: %L6C38% DTE: %L1C10 %   UPD: %L2C10 %

    H

    H                                     SHELF   QNTY   QNTY       QNTY       QNTY

    The dynamic extraction parameters you filled in produce the results described in the following table:

    Table 10 Example Dynamic Extraction Parameters

    Parameter

    Description

    %L6C16%

    Copies the value beginning on Line 6, Column 16. The copied string is the length of the parameter from the beginning % to the ending % (7 characters).

    %L6C38%

    Copies the value beginning on Line 6, Column 38. The copied string is 7 characters in length.

    %L1C10 %

    Copies the value beginning on Line 1, Column 10. The copied string is 8 characters in length.

    %L2C10 %

    Copies the value beginning on Line 2, Column 10. The copied string is 8 characters in length.

  2. Press the QUICKVIEW key (PF04/PF16) to display the Report Viewing screen, including the inserted line.

    Figure 105 Report Viewing Screen with Overlay Line

    ------------- CONTROL-D/V REPORT VIEWING   NOTES    0   PAGE      1 OF        9

    COMMAND ===>                                                   SCROLL ===> CRSR

    USR DEMO     REP INVENTORY REPORT     JB JDEMO     04544 DT 050500 RUL DEFAULT

    ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8

    1DATE:   05.05.00

    UPDATE: 05.05.00

                                      INVENTORY REPORT

                                      ----------------

    WAREHOUSE NO: 1001       DEPARTMENT:  100  -  FINAL ASSEMBLY SHOP

                   ----                    ---------------------------

    INVENTORY REPORT - WRHS: 1001     DEPT: 100     DTE: 05.05.00   UPD: 05.05.00

                                        SHELF   QNTY   QNTY       QNTY       QNTY IN

    ITEM NO.      DESCRIPTION          LIFE    UNIT   AVAIL      ORDER      PROCESS

    -----------   ----------------     -----   ----   -------    -------    ------

    1233-781-21   RIVET D. 0.1 ACR     NONE    KG      100.00     250.00

    1233-781-25   RIVET D. 0.5 ACR     NONE    KG      500.00     500.00

    1233-781-27   RIVET D. 0.7 ACR     NONE    KG      100.00     100.00

    2200-700-22   RUBBER RING D. 2.2   1 MON   EA       10.00      10.00

    CMDS: FIND str (PREV), EDIT, RULER on/off/name, VALUE, N n P n        11.41.08

All the desired header line information has been condensed into one line.

Parent Topic

Dynamic Extraction Parameters