Optionally, your exit can produce messages.
If you use DISPLAY in COBOL exits, the messages are written to SYSOUT in batch and to VIDPIPI in CICS®. PUT statements in PL/I exits are written to SYSPRINT in CICS and batch.