Quantcast
Channel: SCN : Document List - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 401

Execution of jobs and retrieve logs

$
0
0

This tutorial provides an overview of the execution of a job from the SAP Designer steps to run the jobs, debug errors and change options the server job. It thus contains how we can view the logs from the Administration Console SAP DataServices.

 

1. Overview of job execution
It is possible to execute jobs in three different ways. Depending on your needs, you can configure:
• Immediate Jobs
Designer launches batch jobs and real-time jobs and executes them immediately from Designer. For these jobs, Designer and Job Server designated (where the job runs, usually several times on the same computer) must be running. You probably will run immediate jobs only during the development cycle.

• Scheduled Jobs
The batch jobs are planned. To schedule a job, use the Administrator or a third party planner.
When jobs are planned by third-party software:
o The job is started outside the software.
o The job operates on a batch job (or shell script for UNIX) that has been exporting software.
When a job is called by third planner:
o The corresponding Job Server must be running.
o Designer does not need to be running.


• Services
Real-time jobs are configured as continuous services that listen requests an access server and process requests to the application upon receipt. Use the Administrator to create a service from a real-time job.

2. Preparing to run jobs

 Validation jobs and jobs components
It is also possible to explicitly validate the jobs and their components when they are created by:

 

IconDescription
2015-09-10_16h45_40.pngEverything clicking validate in the toolbar (or sélectionnantValider All objects in the view from the Debug menu). This controls the syntax of the object definition for the active workspace and all the objects that are called recursively from the view of the active workspace.
2015-09-10_16h46_28.png

  By clicking the Submit button the current display in the toolbar (or Validate Current Vue sélectionnant from the Debug menu. This controls the syntax of the object definition for the active workspace.

 

 

You can set Designer options (Outils-->Options-->Designer-->General) to validate jobs started in Designer before running the job.

The default setting is to not confirm. The software also validates jobs before exporting them.

If during the validation software discovers an error in the object definition, it opens a dialog box indicating that an error exists, then it opens the Output window to view the error.

If there are errors, double-click the error in the Output window to open the editor of the object containing the error.

If you can not read the complete error text in the window, you can access additional information by right-clicking on the error list and selecting View from the context menu.

 

2015-09-10_16h50_16.png

 

Error messages have the following severity levels:

 

SeverityDescription
2015-09-10_17h03_41.pngInformational message only; does not prevent the job to run. No action is required.
2015-09-10_17h04_03.pngThe error is not serious enough to stop the execution of the job, but it is possible that you get unexpected results. For example, if the type of a source column data processing in a data stream does not match the data type of a column in a processing target, the software will alert you with a warning message.
2015-09-10_17h04_14.pngError is Gave enough to stop the execution of the job. You must fix the error before the job runs.

 

Ensure that the job Server is running


Before running a job (as an immediate or scheduled task), make sure that the Job Server is associated with the repository in which the client runs. When Designer starts, it displays the status of the job server for the repository to which you are connected.

 

IconDescription
2015-09-10_17h10_04.pngThe Job Server is running
2015-09-10_17h10_21.pngThe Job Server is inactive

 

3. Setting Options for the execution of the job


Options for jobsincludedebuggingand monitoring.Although the objectoptions(they affect the function of the object), they are either inthe windoworpropertyin the Immediate window associatedwith thejob.
Theexecution options for jobs can be defined for a single instanceor as adefault.


  • Run right-click menu defines options only fora single execution and replacesthe default settings.
  • Right-click Properties menu sets the default parameters.

 

Set execution options for each job execution


    • From the Project box, click the right mouse button on the job name and select Properties.
    • Select the options in the Properties window.

 

2015-09-10_17h20_55.png

 

 

Execution of jobs as immediate task


Les immediate tasks or "on demand" are initiatedfrom Designer. Designerand Job Servermust both berunningforthe job runs.

 

  • In the Project box, select the job name.
  • Click the right mouse button and select Run.

The software prompts you to save all the objects which have changes that have not been recorded.

2015-09-10_17h26_58.png

 

The software prompts you to save all the objects which have changes that have not been recorded.

 

2015-09-10_17h28_59.png


Viewing all articles
Browse latest Browse all 401

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>