Skip to main content Skip to complementary content

Generating a Job to launch a report

You can generate a ready-to-use Job on any of the analyses created in Talend Studio and listed in the Profiling perspective.

The generated Job uses the tDqReportRun component. It will be listed under the Job Designs node in the Integration perspective.

Once you generate this Job, you can deploy it on Talend Administration Center web application and execute it remotely without having to open Talend Studio.

Before you begin

A report has been generated on an analysis in the Profiling perspective.

Procedure

  1. In the DQ Repository tree view, expand Data Profiling > Reports.
  2. Select the reports on which you want to generate a Job.
  3. Right-click your selection and place your pointer on Generate jobs in the contextual menu then select Launch a report.
    Contextual menu of a report.
    The Integration perspective opens on this Job which is listed as well under the Job Designs node in the Repository tree view.
    Job using the tDqReportRun and tLogRow components.
    The Report filenames field points to the technical names of the analyses listed in the selected reports. The Output folder field points to the path of the output folder where to save the report file.
    Information noteNote: If you exported the database connection as a context after generating the Job, click Browse Reports and select the report to be launched again or restart this procedure to be able to launch the report.
    The schema dialog box shows some read-only columns printed onto the Talend Studio console after running the Job. They give some information about the generated reports.
    Information noteNote: When you generate a Job on a report where context groups and variables are used in the data mart connection or the analyses, tDqReportRun follows specific rules to merge the context groups and variables.
  4. In the Run view, select the context in the right panel.
    When a Job is running, the context selected in the Run view is the only one to be taken into account. The context groups in the analysis editor and the Default context group in the Context view are ignored.
  5. Press F6 to execute the Job for test purposes.
    This launches the specified report(s) directly from the Integration perspective.
    If any modifications are done in the analysis after you generate the Job from the analysis report, you must click the Refresh Dependency tab in the basic settings of tDqReportRun before you execute the Job.
  6. Deploy this Job on Talend Administration Center web application.
  7. Launch the Job from Talend Administration Center every time you need to historize the analysis results in the report database (data mart) and save a report file in an output folder.
    If the Job does not run correctly, make sure to click the Refresh Dependency tab in the basic settings of tDqReportRun. This is necessary if any modifications have been done in the analysis in Talend Studio after you generate the Job from the report associated with the analysis.
    For further information about how to deploy this Job on Talend Administration Center and how to execute it without opening Talend Studio, see tDqReportRun.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!