You can use the TERM exit to override the effect of the TERM assembler option. The exit does this by indicating to the assembler that it opens the terminal data set and does all terminal output processing. Then, as each terminal record is passed to the exit, the exit can decide whether to write the record, and where to write the record. For instance, the exit can write the terminal records to a different data set to which the assembler would normally write them.
The TERMINAL exit is not called if you specify the NOTERM assembler option. If you wish to process the terminal records in the exit, but you do not want the assembler to write the records to the normal output data set, you can do one of these:
The assembler calls the TERMINAL exit with the following request types:
[ Top of Page | Previous Page | Next Page | Contents | Index ]