Removing the in-use attribute by dsname or ddname

Remove the in-use attribute by specifying verb code 02 with text unit key 8 in the SVC 99 parameter list. This function marks the data set as not-in-use. Marking a data set not-in-use makes it eligible for automatic deallocation if the control limit is exceeded.

If you code verb code 02 without specifying key 7 or key 8, dynamic unallocation removes the in-use attribute from data sets allocated through JCL, the TSO/E ALLOCATE command, or dynamically with the permanently allocated option; dynamic allocation releases data sets that were allocated dynamically without the permanently allocated option.

You use key 7 and key 8 to specify explicitly the type of processing you prefer. An explicit specification is satisfied in all but one case: dynamic allocation will not remove the in-use attribute from a non-permanently allocated, non-ampcdsname data set with a disposition of DELETE. Such a resource cannot be used to satisfy a subsequent request, so it is released.