When a dummy I/P ds is read an immediate EOF occurs.
When a dummy O/P ds is written to, no data is transferred.
If you concatenate dummy ds in other than the last position in the concat, the 1st read of the dummy ds produces an EOF, even if there are real ds following in the concat.
The dummy dataset is coded on the DD ststement to test the execution of the pgm without actually reading or writing into the dataset.It basically
simulates the presence of the file even without it actually existing.
//ddname DD DUMMY
or
DD DSN=nullfile
if the DUMMY FILE IS READ the O.S sends an EOF indicator to the pgm being executed.This will result the pgm to execute based on it's logic without actually reading any data.
If write is requested the file being imaginary is simply ignored.