Updating data sources for batch jobs using the Update Batch Job Workspaces tool

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.

HinweisHinweis:

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.

HinweisHinweis:

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.

Schritte:
  1. Start ArcMap.
    TippTipp:

    If the ArcMap - Getting Started dialog box appears, you can open a new or existing map document. You can also check the Do not show this dialog box in the future check box and click Open.

  2. On the main menu, click Customize > Toolbars > Data Reviewer.
  3. On the Data Reviewer toolbar, click the Data Reviewer menu, then click Update Batch Job Workspaces.

    The Update Batch Job Workspaces dialog box appears.

    Fix Reviewer Batch Jobs 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 dialog box with the 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 Fix Reviewer Batch Jobs 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.

9/30/2010