Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide


4.4.5 Searching for and replacing character strings

This subsection explains how to search for and replace character strings in job definition script files.

Organization of this subsection

(1) Searching for character strings

To search a job definition script file for a character string:

  1. From the Search menu, select Search.

    The Search dialog box is displayed.

    [Figure]

    For details about how to specify settings in this dialog box, see 4.7.5 Search dialog box.

  2. Make sure that the Replace check box is not selected.

    If the Replace check box is selected, clear it.

  3. In Search for, enter the character string to be searched for. If necessary, select the Match case and Find whole words only check boxes.

    [Figure]

  4. Click the Find Previous or Find Next button.

    The specified character string is searched for. If there is no matching character string, the editor sounds a beep tone.

    [Figure]

  5. To end the search, click the Cancel button.

    The Search dialog box closes.

(2) Replacing character strings

To replace a character string in a job definition script file:

  1. From the Search menu, select Replace.

    The Search dialog box is displayed.

    [Figure]

    For details about how to specify settings in this dialog box, see 4.7.5 Search dialog box.

  2. Make sure that the Replace check box is selected.

    If the Replace check box is not selected, select it.

  3. In Search for, enter the character string to be searched for and replaced. If necessary, select the Match case and Find whole words only check boxes.

    [Figure]

  4. In Replace with, enter the character string that is to replace the specified Search for character string.

  5. Click the Find Previous or Find Next button.

    The editor starts searching for the specified Search for character string and replacing it with the specified Replace with character string. If there is no character string to be replaced, the editor sounds a beep tone.

    [Figure]

  6. To end the replace operation, click the Cancel button.

    The Search dialog box closes.