Previous Topic: How You Requeue Batch Jobs That Cannot Obtain Resources

Next Topic: How You Bypass Integrity Processing to Resolve Conflicts

How You Free Unused Data Sets

You can use the ECMF AUTOFREE feature to free certain data sets that were allocated dynamically and currently are marked not in use.

Data sets that are marked not in use can cause conflicts. For example, if a TSO user issues a compile command from a session, then object and load files are allocated dynamically. These files are marked not in use as soon as the compile finishes, but the files are still allocated to that TSO user. If that TSO user submits a batch job that needs one of these files, then the job is not able to obtain the files until the TSO user issues a deallocation request or ends the TSO session.

When you activate the AUTOFREE feature, ECMF checks to see whether a data set is marked not in use during a conflict. If so, then ECMF automatically frees the data set and notifies the TSO user who allocated the data set about its actions. By doing this, ECMF enables the task that needs this data set to continue.

More information:

Advanced Topics