Show TOC Start of Content Area

Object documentation Job Parameter  Locate the document in its SAP Library structure

Definition

An optional attribute of jobs which allows them to get or pass information and thus produce a specific output. A job can have zero, one, or more job parameters.

Use

You use job parameters for the following purposes:

      Pass data to a job. In this case you provide certain input for the job to process.

      Pass data from a job to the outside world. In this case, you get a specific output from the job.

      Pass data between jobs. In this case, you can use job parameters as means of starting job chains.

You declare the job parameters in the job-definition.xml and you implement the business logic of the job in the JobBean class. The business logic can access the job parameters. When you create a scheduler task for the job definition, you set values of the parameters that provide input for jobs.

Structure

Job parameters have properties such as name, direction, data type, and so on. You specify these parameter properties in the job definition parameter element of the job-definition.xml deployment descriptor. For more information about the possible parameter properties and their values, see the Document Type Definition of the job-definition.xml.

 

See also:

Example: Job Parameters

End of Content Area