DFHMSP (the message switching program) is invoked by the CMSG transaction. DFHMSP’s purpose is to route a message entered at the terminal to one or more operator-defined terminals or to other operators.