Backbutton

Example 14

Example 14 - Using the DUMMYFILE attribute
T(FILE #MYTESTVOLUME(DUMMYFILE));
COPY COPYWRITE/LIBRARY TO #MYTESTVOLUME(CD,HOSTNAME=LOCAL, SCRATCHPOOL=WINDOWSNT);
 
Example14
 
  1. When the DUMMYFILE attribute is label equated, no IO is done to the CD image, and it is not created.
  2. The advantage that this has over COPY to NULL, is that the records are still presented to the transform. So the transform can implement some function without a CD image being involved.
  3. The SEARCH intrinsic transform has the DUMMYFILE attribute set internally.