Previous Topic: Editing Data SetsNext Topic: Select Members to Process


Edit Data Sets

Use the Edit Data Set screen to edit sequential files, VSAM files, and partitioned data sets. You can use selection criteria to specify certain records to display. You can view the data set in hexadecimal, character, single-record, and multi-record format.

Follow these steps:

  1. Select EDIT from the Main Menu, option 2.

    The Edit Data Set screen opens.

  2. Specify the data set that you want to edit. Complete the Data set name, Member name, and Volume fields as needed. Only specify the volume serial number if the data set you want to edit is uncataloged.

    Note: You can enter a fully qualified data set and member name or a wildcarded data set name and member name. If you enter a wildcarded data set name, the Select DSN panel displays. Select the data set you want to edit and press Enter to return to the Edit Data Set screen. For more information about specifying a member name, see the topic, "Select Member to Process."

  3. (Optional) Specify the record layout data set and member that you want to use if you want a formatted display. Specify a layout PDS but leave the member field blank to view a directory of members in the layout data set.

    Note: You must specify a layout if you want to view records in single-record or multi-record format.

    Note: You can use the Selection Criteria Condition screen to build conditions for the layout by the field names defined in the record layout. To display this screen, specify a data set and member and then use the LAYOUT command. After the data set is displayed you can use the MAP command to modify selection conditions for the record layout.

  4. (Optional) Specify the selection criteria member or any individual selection conditions that you want to use to identify the records to display.
  5. Specify one of the following display modes:
    C

    Character mode

    S

    Single-record Format

    M

    Multi-record Format

    Note: You can switch between display modes by entering CHAR, SF, or MF on the command line once the data set displays.

  6. Type Y in the Change Log field if you want to activate the change log for the edit session. To activate the change log, you must have defined the change log parameters in the Setup and Processing Parameters screen, option 0.5

    Type N if you do not want to log changes made during the edit session.

    Note: This option appears as protected it if your CA File Master Plus administrator has set the change log feature to remain activated.

  7. Press Enter to process the edit command.

    If you specified Single (S) or Multi (M) record formatted mode and the layout member contains multiple layouts, a list of the available layouts displays. Select the layout that you want to use in the edit session.

    Note: You can change or add any conditions and update the inclusion or omission of fields when the layout displays. At any time after the session has started, and in any display mode, the MAP command can be used to display the current layouts.

    The contents of the data set display in edit mode.