Locate

Use the Locate command in the editor to jump to a specific record in the open data set or member.

Follow these steps:

  1. Right-click anywhere in the editor, click Data Set-level Operations, Locate.
    The Locate dialog displays.

  2. Specify the a value for one of the following options:

    • Line number
      Locates records according to the numeric line number.

    • Key value
      Locates records according to a full or partial VSAM key field value.
      Type can be Character or Hexadecimal. Character is the default. Click the drop-down arrow and select Hexadecimal to change the value.

    • Keywords
      Select one or more of the commands that you want to include in your locate criteria:

      • Change
        Jumps to a record with a CHANGE attribute.

      • Command
        Jumps to a record with a COMMAND attribute.

      • Error
        Jumps to a record with an ERROR attribute.

  3. Select one of the following location options:

    • First
      Jumps to the first record with the specified keyword command.

    • Last
      Jumps to the last record with the specified keyword command.

    • Next
      Jumps to the next record with the specified keyword command.

    • Previous
      Jumps to the previous record with the specified keyword command.

  4. Click OK.
    The editor refreshes to display the record that meets the defined criteria.