Considerations for using ILE programs
In previous versions, a data area named QRLMMONQ was used to enable the use of ILE programs for attribute-specific monitor exits, to prevent the unintended use of an ILE program in the monitor's library list. There are now two options for using ILE programs. Both of these options use the data area named QRLMMONEXT. The QRLMMONQ data area is no longer used.
The first option is to specify that ILE programs are allowed to be called for either output queue monitors, directory monitors, or both.
CRTDTAARA DTAARA(QUSROND/QRLMMONEXT) TYPE(*CHAR) LEN(30) VALUE(' ')
TEXT('Monitor exit names, functions, and library name')
CHGDTAARA DTAARA(QUSROND/QRLMMONEXT (1 10)) VALUE(*ALLOWILE)
CHGDTAARA DTAARA(QUSROND/QRLMMONEXT (11 20)) VALUE(*ALLOWILE)
For changes to the data area to take effect, you must stop and restart the monitor.
CHGDTAARA DTAARA(QUSROND/QRLMMONEXT (21 10)) VALUE(LIBRARYNAM)
For changes to the data area to take effect, you must stop and restart the monitor.
In summary, you can either specify a value of *ALLOWILE for output queue monitor exits or directory monitor exits or both, or specify the library of the intended monitor exits in the last 10 characters (character positions 21 to 30) of the QRLMMONEXT data area. If the last 10 characters of the QRLMMONEXT data area are blank, the library list of the monitor job is used to locate the exit program. It is best to specify a specific library name to prevent unintended use of an unrelated ILE program in the monitor's library list.