If you are compiling under TSO, you can define the SYSTERM data set to send compiler messages to your terminal.
ALLOC F(SYSTERM) DA(*)
You can define SYSTERM in various other ways, for example to a SYSOUT data set, a data set on disk, a file in the HFS, or to another print class.