Example: Inserting a new layout

Example: Inserting a new layout

Overview

In this example, a new layout is created for the title display. The layout should contain the columns Date, Time and the maximum possible number of characters of the Title.

Instructions

You create a new layout as follows:

  1. Enter the line command I or C in front of a layout in the "Display List/Report Selection Table Layout Definition" table.
  2. Enter the desired values in the displayed panel.

    PE97LY10 --------------------------------------------------------------------
    Command ===> _________________________________________________________________

    Insert Layout Definition

    Layout Name ===> TITLE........... Type : CUST

    Language ===> E (E - English, G - German,
    F - French , I - Italian)
    Number ===> 10 (1 - 99)


    Status ===> INACTIVE (A)ctive, (I)nactive

    Title ===> TITLE DISPLAY___________________________

    Owner ===> ________




    Press ENTER to insert the definition. Press DOWN to display the next page.
    Press END to return to the previous panel.

  3. Press PF8.

    The "List/Report Selection Table Layout" panel is displayed, where you can determine the columns for your layout.

    PE97LY95 -------------------------------------------------------- Row 1 of 34
    Command ===> ________________________________________________ Scroll ===> PAGE

    List/Report Selection Table Layout

    Pos = Field position A = Attribute (H)ighlighted, justified (R)ight
    Len = Field length Header = Table header text

    Line command column width ===> 6 (3 or 6)

    Enter SAVE in the command line to store the layout in the database.

    Layout:


    Pos A Len Max.Len Header Default Header Description
    .. _ 10 10 Date____________ Date Beta97 read-in date
    .. _ 11 11 Time____________ Time Beta97 read-in time
    .. _ 8_ 8 Form____________ Form Form name
    .. _ 16 16 Extension_______ Extension Extension name
    .. _ 16 16 Report__________ Report Report name
    .. _ 7_ 7 Status__________ Status Online/Offline
    .. _ 7_ 7 Pages___________ Pages Number of pages
    .. _ 10 10 Lines___________ Lines Number of lines

  4. Enter the desired column position in front of the respective fields in the Pos column. In addition, you can also enter an attribute (H or R), the column width and the column header. If required, you can scroll down with PF8 until the desired field is displayed.

    PE97LY95 -------------------------------------------------------- Row 23 of 34
    Command ===> ________________________________________________ Scroll ===> PAGE

    List/Report Selection Table Layout

    Pos = Field position A = Attribute (H)ighlighted, justified (R)ight
    Len = Field length Header = Table header text

    Line command column width ===> 6 (3 or 6)

    Enter SAVE in the command line to store the layout in the database.

    Layout:


    Pos A Len Max.Len Header Default Header Description
    .. _ 4_ 4 A_______________ A In AFPDS format
    .. _ 4_ 4 T_______________ T Contains TRC records
    03 _ 56 70 Title___________ Title List/Report title
    .. _ 4_ 4 >32K____________ >32K List/Report pages > 32K
    .. _ 4_ 4 ItmP____________ ItmP In item processing mode
    .. _ 4_ 4 ItmD____________ ItmD In item display mode
    .. _ 16 16 Layout__________ Layout Layout for index retrieval
    .. _ 10 10 ArcExpDate______ ArcExpDate Archive expiration date

  5. Press ENTER to update the preview of the Layout.

    PE93LY95 -------------------------------------------------------- Row 1 of 34
    Command ===> ________________________________________________ Scroll ===> PAGE

    List/Report Selection Table Layout

    Pos = Field position A = Attribute (H)ighlighted, justified (R)ight
    Len = Field length Header = Table header text

    Line command column width ===> 3 (3 or 6)

    Enter SAVE in the command line to store the layout in the database.

    Layout:
    Sel.Date .Time .Title .

    Pos A Len Max.Len Header Default Header Description
    01 _ 8_ 10 Date____________ Date Beta97 read-in date
    02 _ 5_ 11 Time____________ Time Beta97 read-in time
    03 _ 56 70 Title___________ Title List/report title
    .. _ 8_ 8 Form____________ Form Form name
    .. _ 16 16 Extension_______ Extension Extension name
    .. _ 16 16 Report__________ Report Report name
    .. _ 7_ 7 Status__________ Status Online/Offline
    .. _ 7_ 7 Pages___________ Pages Number of pages

    The period in the right-hand margin displays how many of the maximum 80 columns are already being used. In the example, the title can be extended by 4 characters.

  6. Enter the primary command SAVE to save the new layout.

    PE97LY95 -------------------------------------------------------- Row 1 of 34
    Command ===> SAVE____________________________________________ Scroll ===> PAGE

    List/Report Selection Table Layout

    Pos = Field position A = Attribute (H)ighlighted, justified (R)ight
    Len = Field length Header = Table header text

    Line command column width ===> 3 (3 or 6)

    Enter SAVE in the command line to store the layout in the database.

    Layout:
    Sel.Date .Time .Title

    Pos A Len Max.Len Header Default Header Description
    01 _ 8_ 10 Date____________ Date Beta97 read-in date
    02 _ 5_ 11 Time____________ Time Beta97 read-in time
    03 _ 60 70 Title___________ Title List/report title
    .. _ 8_ 8 Form____________ Form Form name
    .. _ 16 16 Extension_______ Extension Extension name
    .. _ 16 16 Report__________ Report Report name
    .. _ 7_ 7 Status__________ Status Online/Offline
    .. _ 7_ 7 Pages___________ Pages Number of pages

  7. Press PF3 to exit the panel.

    The message INSERT SUCCESSFUL appears in the upper right hand corner of the panel.

    Note: A newly inserted layout is inactive by default. In order to use this layout, you must activate it first, for example, by changing the value in the Status field of the displayed panel.