www.krengeltech.com

RXS_log

From Wiki

User Guide

Contents

Description

Use this subprocedure to easily write useful information to the job log. There are a variety of types of messages to send that are detailed below.

Prototype

     D RXS_log         pr
     D  pType                              const like(RXS_MsgType)
     D  pMsg                      32767a   const options(*varsize)

Parameters

pType
This can be any of the below valid values. The definitions for each type can be found on the IBM i website.


     D RXS_ESCAPE      s                   inz('*ESCAPE') like(RXS_MsgType)
     D RXS_COMP        s                   inz('*COMP') like(RXS_MsgType)
     D RXS_DIAG        s                   inz('*DIAG') like(RXS_MsgType)
     D RXS_INFO        s                   inz('*INFO') like(RXS_MsgType)
     D RXS_INQ         s                   inz('*INQ') like(RXS_MsgType)
     D RXS_NOTIFY      s                   inz('*NOTIFY') like(RXS_MsgType)
     D RXS_RQS         s                   inz('*RQS') like(RXS_MsgType)
     D RXS_STATUS      s                   inz('*STATUS') like(RXS_MsgType)
pMsg
Specify the text that should appear in the job log.

Return value

None.

Notes / Examples

None.