z/OS MVS JCL Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Relationship to the CLOSE macro instruction

z/OS MVS JCL Reference
SA23-1385-00

When FREE=CLOSE is specified for a data set that is opened and closed more than once during a job step:
  • The data set is unallocated after it is closed if the assembler CLOSE macro instruction specifies DISP, REWIND, or FREE. If the data set is reopened after the system has unallocated it, the job step abnormally terminates, unless the data set is dynamically allocated in the interval.

The data set is not unallocated until the end of the job if the assembler CLOSE macro instruction specifies LEAVE or REREAD. Then the data set can be reopened.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014