# RXS_log() Use this subprocedure to easily write useful information to the job log. Valid values for the pType parameter are: * RXS_ESCAPE * RXS_COMP * RXS_DIAG * RXS_INFO * RXS_INQ * RXS_NOTIFY * RXS_RQS * RXS_STATUS ## Subprocedure Prototype ### IBM i V5R4+ | Field | Description | |---|---| | ` D RXS_log pr` | Write a message to the job log. | | ` D pType const like(RXS_MsgType)` | The message type. **Valid Values:** `RXS_ESCAPE`, `RXS_COMP`, `RXS_DIAG`, `RXS_INFO`, `RXS_INQ`, `RXS_NOTIFY`, `RXS_RQS`, `RXS_STATUS` | | ` D pMsg 32767a const options(*varsize)` | The text of the message that should appear in the job log. |