OnDemand already sends system log message 88, and most other error messages, to QSYSOPR. The OD error messages are sent using message OND1002. If you display the message it will look something like the following:
Message ID . . . . . . : OND1002 Severity . . . . . . . : 20
Message type . . . . . : Diagnostic
Date sent . . . . . . : 07/13/09 Time sent . . . . . . : 14:10:25
Message . . . . : Instance 'QUSROND' sent severity 2 message number 88 for
user 'DBRYANT' at '07/13/09 14:10:24'.
Cause . . . . . : 'ApplGroup Failed Load: Name(CHECKSTMTS) LoadId(--INDEXING
ONLY--)
File(/QIBM/USERDATA/ONDEMAND/QUSROND/TMP/DB_ONDSAMPLES_FLASHSALES_FLASHSALES
)'.
Recovery . . . : Look at the OnDemand system log for instance 'QUSROND' for
more information.
Technical description . . . . . . . . : Account: Log id: '33243'.
Another option is to use the arslog exit program. Using the arslog exit program you can decide on a message by message basis what action, if any, to take. We include a sample arslog program in file QSAMPLES2 in library QRDARS. An update is required to the shipped sample arslog program. If you send me an e-mail, I will send you the updated (and enhanced) source code.