Update the SYS1.PARMLIB member MPFLSTxx ( where xx is the current suffix in use) to include the line:
DFHFC057*,AUTO(YES)
This causes MVS™ to invoke NetView® whenever a message is issued that is prefixed with DFHFC057.
Add the following entry to DS1PARM, the NetView message table:
IF MSGID = 'DFHFC057'. & TEXT = MSG
THEN EXEC(CMD('DFH$OFAR' MSG) ROUTE(ONE *));
This causes NetView to invoke DFH$OFAR whenever a message is issued that is prefixed with DFHFC057, passing the message text as input parameters.