/
Executing a PDI job
Executing a PDI job
Executing a PDI job
When we say execute a job we actually mean: "execute a job as described in the job metadata object". So naturally we first need to load a JobMeta object from XML (with a JobMeta constructor as described below where repository can be null) or from a repository.
JobMeta jobMeta = new JobMeta("/foo/bar/job.kjb", repository); Job job = new Job(repository, jobMeta); job.start(); job.waitUntilFinished(); Result result = job.getResult();
The Result object will then contain all sorts of interesting results pertaining to the execution, including the number of errors, parsed files and much more as described over here.
Related content
JavaScript (job entry)
JavaScript (job entry)
Read with this
Job Executor
Job Executor
More like this
Executing a PDI transformation
Executing a PDI transformation
More like this
02. Spoon Introduction
02. Spoon Introduction
More like this
Development Guidelines
Development Guidelines
More like this
Write to log (step)
Write to log (step)
More like this