July 30, 2023

tJasperOutputExec – Docs for ESB 7.x

tJasperOutputExec

Creates a report in rich formats using Jaspersoft’s iReport and offers a
performance gain as it functions as a combination of an input component and a
tJasperOutput component.

This component is closely related to Jaspersoft’s report designer —
iReport. It reads and processes data from a source file to create a report against a
.jrxml report template defined via iReport. tJasperOutputExec is used
as a combination of an input component and a tJasperOutput component. The advantage of using two separate components
is that data can be transformed before being used to generate a report and the input
sources can be various and rich.

Reads and processes data from a source file to create a report
against a .jrxml report template defined via iReport.

tJasperOutputExec Standard properties

These properties are used to configure tJasperOutputExec running in the Standard Job framework.

The Standard
tJasperOutputExec component belongs to the Business Intelligence family.

The component in this framework is available in all Talend
products
.

Basic settings

Jrxml file

Report template file created via iReport.

Source file

Name of the source file.

Record delimiter

Delimiter of the records.

Destination path

Path of the final report file.

Use Default Output Name

Select this check box to use the default name for the report
generated, which takes the source file’s name.

Output Name

Name of the final report.

Note:

This field does not appear if the Use Default Output Name box has been
selected.

Report type

File type of the final report.

iReport

Edit the command to provide the path of iReport’s execution file,
e.g. replacing __IREPORT_PATH__
with E:Program
FilesJaspersoftiReport-4.1.1in
, or giving the
full path of the execution file such as “E:Program
FilesJaspersoftiReport-4.1.1iniReport.exe”
.

Launch

Click to run iReport.

Advanced settings

tStatCatcher Statistics

Select this check box to collect log data at the component
level.

Specify Locale

Select this check box to choose a locale from the Report Locale list.

Note:

The first line of the Report
Locale
list is empty. You can click it to
customize a locale.

Encoding

Select an encoding mode from this list. You can select Custom from the list to enter an encoding
method in the field that appears.

Global Variables

Global Variables

NB_LINE: the number of rows read by an input component or
transferred to an output component. This is an After variable and it returns an
integer.

ERROR_MESSAGE: the error message generated by the
component when an error occurs. This is an After variable and it returns a string. This
variable functions only if the Die on error check box is
cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable
functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl +
Space
to access the variable list and choose the variable to use from it.

For further information about variables, see
Talend Studio

User Guide.

Usage

Usage rule

This component is closely related to Jaspersoft’s report designer
— iReport. It reads and processes data from a source file to create
a report against a .jrxml report template defined via
iReport.

Related Scenario

For related scenarios, see Generating a report against a .jrxml template.


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x