Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
RECEIVE log data set pre-allocation exit — INMRZ21R z/OS TSO/E Customization SA32-0976-00 |
|
Each time a log data set is to be allocated, the RECEIVE pre-allocation exit, INMRZ21R, receives control. This exit may be invoked multiple times for each RECEIVE operation. This exit can allocate the log data set, modify the data set name, or take no action. If the exit chooses to allocate the data set, the exit must pass the file name back to the RECEIVE command. If the exit modifies the data set name, the RECEIVE command will then allocate the data set for the exit if the exit has not already done so. Under normal operations, the RECEIVE command frees the log data sets automatically. Therefore, even if the exit allocated the log data set, the data set is freed when the command processor terminates normally. During RECEIVE processing, the allocation of the log data set occurs after the RECEIVE command has begun reading the input file. If the exit is to allocate the log data set, consider the following:
Errors during log processing do not normally terminate command processing. Instead, the command sets a return code of 4, indicating that an error occurred but the transmission was successful. If the exit gives a non-zero return code, RECEIVE does not terminate processing, but sets a return code of 4, indicating that the logging function encountered an error. |
Copyright IBM Corporation 1990, 2014
|