version | Version of structure format |
service_type | Type of client request |
display_buf_len | Length of data in display_buf |
flags | Request context control flags |
service_name | Name of loaded service |
pgm_name | Name of the main program associated with the service |
epoint_name | Name of the entry point to invoke |
display_buf | Concatenation of strings output by ANSI DISPLAY statements |
Comments:
This exit gives you the opportunity to override the full response generated by default mapping. The exit can optionally modify any of the returned request fields listed above. The exit should use the fn_alloc_mem support function of the exit_info funcs structure to allocate any memory used to replace the response_buf field. If the exit chooses to override any of the response structure fields, it must return IDP_EXIT_HANDLED.
The user exit program owns the exit_data field of the IDP_EXIT_INFO structure. You would typically use it to preserve context information between exit point invocations. You can use it when returning any of the IDP_EXIT_ return values.