Sample ASMAXADC user exit to control record output

This sample ADATA exit uses parameters specified on the assembler EXIT option to determine if it, or the assembler, is to perform output processing for the associated data records, and which record types are to be kept or discarded. The exit will accept records from the assembler, via either a PROCESS request or a WRITE request, and it will decide whether the record should be discarded, output, or perhaps modified and then output. The exit will then decide if an additional record should be inserted, and if so it will build the new record.

For a PROCESS request the exit will set the appropriate flags and return to allow the assembler to perform the output processing. For a WRITE request the exit will perform the output processing itself.


[ Top of Page | Previous Page | Next Page | Contents | Index ]