There are a lot of ‘reporting’ options available these days – it can be confusing.
I’ll try to describe the ones I know of and their respective roles in the LANSA product:
(1). The “#Report” reusable part mentioned earlier is just a shipped VLF-ONE example of how you might produce reports on the client-side of a VL-Web application. It consists of 4 usage examples, DF_T69H1O, H2O, H3O and H4O along with a common interface reusable part DF_T69CTO (usually named #Report locally) and a widget #DF_T69RPO. The source code is shipped for all of these components.
The “DF_” prefix denotes a demonstration function, as do the “Please Note” comments at the start of each example. The expectation is that a demonstration example function will rarely do exactly what you need, but rather provide a starting point, with example code, that you can copy and customize to meet your exact requirements.
(2). The official LANSA RDMLX language server-side reporting commands are listed here
https://docs.lansa.com/14/en/lansa015/i ... report.htm .
These are all text based and have no image capabilities. They produce classic IBM i line printer style spool files on IBM i and Windows platforms.
I am pretty sure that the IBM i operating system has several build-in features now that can dynamically create or convert these spool files in/to PDF format.
(3). I think many applications, both LANSA and non-LANSA based, nowadays deliver ‘reports’ to end users as either PDF or XLS (MS-Excel) files.
This is because the required content viewers and hard copy printing abilities are ubiquitous, they are easily transported, and in the case of XLS documents they can be further manipulated by the end user using pivot tables, creating graphs, etc.
LANSA Integrator provides specific services to produce both of these types of file on IBM i and Windows platforms.
The LANSA Integrator guide is here -
https://docs.lansa.com/14/en/lansa093/index.htm
There are getting started tutorial for creating XLS and PDF documents on your IBM I server:

- Capture.PNG (61.49 KiB) Viewed 20827 times
As far as option (3) goes – my impression is that many LANSA customers do this, so hopefully other people can contribute some ideas, examples, scenarios and to answer any questions you have.