RECEIVE data set pre-processing exit — INMRZ11 or INMRZ11R

The RECEIVE data set pre-processing exit (INMRZ11 or INMRZ11R) receives control just before the RECEIVE command processor prompts the user for actions to be taken with the transmitted data set. You can use the exit to:
  • Replace user interaction required in determining what to do with the arriving transmission. The exit receives information about the incoming data set and can specify the same parameters for which RECEIVE would otherwise prompt the user.
  • Determine which users can use a particular network path. The exit can check the source of a message before delivering it to the user.
  • In conjunction with the RECEIVE data set post-processing exit (INMRZ12R or INMRZ12), receive data set types not supported by TRANSMIT and RECEIVE. This exit instructs RECEIVE to ignore the target dsname that the sender specified, and to write the received data into a temporary data set that INMXZ01R or another exit allocated.
  • Suppress reception of data sets by setting the action flag that tells RECEIVE all processing on the current file is complete.