FREE=CLOSE is ignored when:
- The data set is a member of a concatenated group.
- The task using the data set abnormally terminates.
If
you specify FREE=CLOSE and the job step abnormally terminates before
the data set is closed, the system uses the abnormal termination disposition
from the DISP parameter to process the data set. If a recovery routine,
such as an ESTAE routine, gets control and closes the data set, then
the system uses the normal termination disposition.
If
the job step abnormally terminates after the data set is closed, then
the system has already processed the data set using the normal termination
disposition.
- The data set is referenced by another DD statement in the same
or subsequent step.
- The data set is a VSAM data set.
- The DDname on the DD statement is JOBLIB or STEPLIB.