Validating Jobs

Objective

After completing this lesson, you will be able to validate jobs to identify and resolve errors before execution.

Job Validation

When testing your jobs in your development environment, you should validate them before execution to ensure they are error-free. You can also enable an option to perform this validation automatically during job execution.

As a best practice, validate your work while building objects to minimize warnings and errors at runtime.

Validate Current vs. Validate All

There are two options for validating objects during the build process:

  • Validate Current: This option validates only the active workspace.

    For instance, if you are viewing a job workspace but the error is within a data flow inside that job, no error message will appear. However, you would see an error if a script within that job contained a mistake.

  • Validate All: This option validates all objects in the current workspace and their nested components.

    For example, you would receive an error if a Query transform within a data flow had an issue. Note that this does not validate other workflows or objects within the same job that are not part of the current workspace.

You can also configure the system to automatically validate all jobs before they are executed.

SAP Data Services Designer Options dialog showing the Perform complete validation before job execution option highlighted.

Watch the following video for a demonstration.

Summary

In this lesson, you learned how to validate jobs before execution to identify and resolve errors early in the development process.

  • Use "Validate Current" to check only the active workspace or "Validate All" for comprehensive validation.
  • "Validate All" examines nested components within the current workspace, revealing errors in embedded objects.
  • Enable automatic validation before job execution to prevent runtime failures and display all errors upfront.
  • Regular validation during development minimizes warnings and errors, following best practice recommendations.