7.126 UPRINT

Note: Usage options

The UPRINT command is used to print fields onto a report.

The UPRINT command can be used to produce simple paginated listings with subtotals. Refer to the RDML Field Attributes and their Use for details of which field attributes can be used in with the UPRINT command.

The use of the UPRINT command is recommended only for very simple list style reports. For serious application reporting, multilingual reporting or bi-directional language reporting use only the PRINT command.

For producing complex reports or reports with specific layout requirements refer to the PRINT command.

Refer also to the ENDPRINT command, which is used to close (end) a report produced by using the UPRINT command.


Portability Considerations

This command is not supported in Visual LANSA and is not expect to be in future releases. A build warning will be generated if used and an error will occur at execution time. Code using this facility can be made conditional so that it is not executed in this environment.

Also See

7.126.1 UPRINT Parameters

7.126.2 UPRINT Examples



  UPRINT ------- FIELDS ------- field name  field attributes --->

                                |           |               | |

                                |            --- 7 max -----  |

                                 ------ 100 max --------------





             >-- TITLE -------- *NONE -------------------------->

                                'report title'


             >-- REPORT_NUM --- 1 ------------------------------>

                                report number 1 -> 9


             >-- SPACE -------- 1 ------------------------------>

                                lines to space


             >-- WIDTH -------- *DEFAULT ----------------------->

                                report width


             >-- COLUMN_SEP --- 1 ------------------------------>

                                column separation


             >-- START_COL ---- 1 ------------------------------>

                                start column number


             >-- IO_STATUS ---- *STATUS ------------------------>

                                field name


             >-- IO_ERROR ----- *ABORT -------------------------|