QMF forms

QMF forms help users to control the format of data returned from the database. Use edit codes in the EDIT column of the MAIN and COLUMNS panels of the QMF form to format report data in different ways. For example, use a decimal edit code for a column that returns salary data. This edit code formats the numeric data into a decimal with a currency symbol.

If the edit codes supplied with QMF do not meet the report editing needs of your site, you can use the information in this chapter to create your own edit codes to be used in the EDIT column of the FORM.MAIN and FORM.COLUMNS panels. The QMF Reference manual shows the edit codes supplied with QMF.

This chapter also shows how to write an edit exit routine in High Level Assembler, PL/I, or COBOL to format the data described by your edit code. QMF provides both a standard interface to your edit exit routine and a sample edit exit program you can use as a starting point for writing your own.

QMF supports edit routines in 31-bit or 24-bit AMODE or RMODE; however, some versions of supported languages do not support 31-bit addressing. QMF running in CICS requires 31-bit addressing.

[ Previous Page | Next Page | Contents | Index ]