To format the data returned from the database, QMF calls your edit exit routine and passes information through fields of the interface control block. Information is also passed to and from the exit routine using the input and output areas, which contain the database data to be formatted and information about where to put the formatted result.
The data to be formatted can be a column value, the result of a built-in function, a defined column, a calculation, or a value represented by a variable in a heading, a footing, or a final-summary line.
Upon receiving control for formatting, your edit routine takes the parameters in the following list.
Important: Do not use more memory in the output area than is indicated in the ECSRSLEN field, or you will see QMF error DSQ60439 - User edit program memory overwrite.
User edit programs may require modifications. To correct this application error, do one of the following:
ECSINPT, ECSRSLT, and ECSRSLEN are fields of the interface control block, explained in Table 69.