Updating data sources for batch jobs using the Update Batch Job Workspaces tool (Maritime Charting)

The Update Batch Job Workspaces tool allows you to validate and update the workspaces referenced by all the batch jobs in a specified directory. This can be done using the command regardless of the version of Data Reviewer that was used to create them.

NoteNote:

This tool is deprecated at version 10.2.2 and has been removed from the Data Reviewer toolbar menu. This functionality has been replaced by the Set Data Source dialog box. You can access the Set Data Source dialog box from the Reviewer Batch Job Manager or the Reviewer Batch Validate tool. At version 10.2.2, the Update Batch Job Workspaces tool can be accessed from the Data Reviewer category in the Customize dialog box.

This command does not upgrade any 9.2 Reviewer batch jobs to the current version. It only repairs the path to the databases.

The tool initially searches the specified directory and, optionally, subdirectories for batch jobs. After the tool finishes searching for batch jobs, it reports the number of batch jobs that have been loaded as well as the number that have no workspace or that had errors reading the workspace information. All the workspaces referenced by the batch jobs are listed in the top portion of the dialog box, and all the batch jobs associated with the workspace are listed in the bottom portion of the dialog box. This allows you to see the relationship between the workspaces and the batch jobs that reference them. After the batch jobs are loaded, you can change the workspaces for them as needed.

Update Reviewer Batch Jobs dialog box
Workspaces and Reviewer batch jobs that have been loaded

For each workspace, the following properties are displayed:

You can choose to validate the workspaces after they are loaded. Validating the workspaces ensures that the path to the workspace is correct. If the workspace is valid, there is a check mark in the Valid? cell. If the workspace path is invalid, it appears in red text, and the Valid? cell contains a red circle with an "X" in it.

In the bottom portion of the dialog box, the batch jobs associated with the workspace are listed. For each batch job, the following properties are displayed:

After the workspaces are updated, you can update the references within the batch jobs by applying the workspace to the batch jobs. This updates all the checks in the batch jobs so they reference the new workspace.

NoteNote:

If you are updating a batch job that contains checks for database validation, topology, or z-values, the new workspace must contain the appropriate tables and feature classes. For instance, if a batch job contains the Slope Direction Change (Monotonicity) check, the workspace needs to have feature classes that are z-enabled.

Steps:
  1. Start ArcMap.
  2. Add the Update Batch Job Workspaces tool in ArcMap by doing the following:
    1. On the main menu, click Customize > Customize Mode.

      The Customize dialog box appears.

    2. Click the Commands tab.
    3. In the Categories list, choose Data Reviewer.
    4. From the Commands list, drag the Update Batch Job Workspaces tool to a toolbar.
    5. Click Close.
  3. Click Update Batch Job Workspaces on the toolbar you chose in step 2d above.

    The Update Batch Job Workspaces dialog box appears.

    Update Batch Job Workspaces dialog box

  4. Click the ellipsis (...) next to the Search the following folder for RBJs text box.

    The Browse For Folder dialog box appears.

  5. Navigate to the directory that contains the batch jobs you want to migrate.
  6. Click OK.
  7. To include any subdirectories in the search, check the Include Subfolders check box.
  8. Click Refresh.

    The workspaces and associated batch jobs appear in the Update Batch Job Workspaces dialog box. The Load Batch Job Results message also appears and informs you of the number of batch jobs processed and the number that were omitted because there was no workspace information or there were errors reading the workspace information.

    Load Batch Jobs Results message

  9. Click OK.

    Workspaces and Reviewer batch jobs that have been loaded in the Update Batch Job Workspaces dialog box

  10. Click Validate to validate the workspaces that have been loaded.
  11. Click the name of the workspace you want to update.
  12. Click the ellipsis (...) at the end of the row.

    The Select Workspace dialog box appears.

  13. Navigate to the workspace you want to use with the batch jobs.
  14. Click Select.

    The Update Batch Job Workspaces dialog box appears with the path to the new workspace in the New Workspace cell.

  15. Click Apply.

    The batch jobs that reference the selected workspace are updated with the new workspace.

  16. Repeat steps 11–15 for each workspace you want to update.
  17. Click the Close button Close when you are finished.

Related Topics

2/17/2015