The temporary result writer also has disadvantages that must be
considered when you determine its usefulness for queries.
The disadvantages are:
Note: The system does not allow the temporary result writer
to be used for queries running under commitment control *CS or *ALL. This
is because the main job might have records locked in the file, which can cause
the temporary result writer to be locked out of these records and not be able
to finish.