Using a user-maintained data table during loading

A user-maintained data table can be accessed only by the FOR during loading. All remote requests are function shipped to the FOR, which processes them in the same way as for a local request.

While a user-maintained data table is being loaded, you can use only non-update read requests with precise keys. If the record has already been loaded, processing the request is handled in the normal way. If the record has not yet been loaded, the record is read from the source data set and submitted to the user exit XDTRD (if activated):
  • If it is not suppressed by XDTRD, the record is added to the data table and returned to the application program.
  • If it is suppressed by XDTRD, the NOTFND condition is returned.
The LOADING condition is returned for other requests that would have been valid had loading been complete.