/
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.
, multiple selections available,
Related content
Executing a PDI transformation
Executing a PDI transformation
More like this
PDI Development resources
PDI Development resources
More like this
XSLT Transformation of PDI jobs and trans files
XSLT Transformation of PDI jobs and trans files
More like this
Job (Job Entry)
Job (Job Entry)
More like this
Job Executor
Job Executor
More like this
JavaScript (job entry)
JavaScript (job entry)
Read with this