11-06-2014 07:58 AM
according for the documentation ti is not possible to set the libname option ENABLEDIRECTIO for the WORK library.
I wonder whether there is a good reason for this limitation.
If not, is there maybe a trick to use it anyway?
11-06-2014 08:13 AM
I would not do that, even if it worked.
When writing through the OS cache, any subsequent read will not have to access the disk, but will read the contents of the cache, if the data are still there. Since it is quite common that the data written to WORK are read again shortly after, disabling the OS cache will have a negative impact on performance (and lead to additional disk contention in the physical volumes containing the WORK directories).
A good OS will make very good decisions which data to keep in its cache; it will also help you by deferring disk writes (speeding up virtual write performance) and by reading ahead for you.