Previous Topic: Custom Record LayoutsNext Topic: View Formatted Record Layout


Use Layout Functions

Use the layout function to perform the following tasks:

To use layout functions

  1. Select LAYOUT from the Main Menu.

    The Record Layout screen opens.

    ---------------- CA File Master Plus -- Record Layout -------------- OPTION ===> V - View Formatted Record Layout U - Update Custom Record Layout Record Layout DSN ===> 'CUSTOMER.PROJECT.COPYLIB' Member ===> ________ Previously-used Record Layout DSNs are listed below: 'PROJECT1.COPYLIB' 'PROJECT2.COPYLIB' 'PROJECT3.COPYLIB'

  2. Select V (View formatted record layout) or U (Update Custom Record Layout) in the option command.
    View Formatted Record Layout

    Displays a formatted view of a stand-alone record layout (or COBOL or PL/I copybook).

    Update Custom Record Layout

    Creates or updates a custom record layout. Custom record layouts are used to format records from a data set from COBOL and PL/I copybooks, and:

    • Are embedded within a program or other type of file
    • Begin after a specified offset within a record
    • Contain redefined fields that are to be used based on specific record values or content
    • Only selected fields display
  3. Complete the following fields:
    Record Layout DSN

    Defines an ordinary COBOL or PL/I record layout. Type the data set name of the library containing the layout member. The library can be a partitioned data set or a CA Librarian or CA Panvalet library.

    To create, delete or update a custom record layout, type the name of the partitioned data set containing your custom record layout definitions.

    Type the value in this field using a wildcard to display a list of data set names, or get the value from a DSN list.

    You can also retrieve the data set name by placing the cursor on a previously used name and pressing Enter.

    Member

    Defines the name of the copy member containing an ordinary COBOL or PL/I record layout, or the name of a custom record layout member.

    Leave this field blank or type a wildcard to display a list of members from the library.