The CLOSE statement terminates the processing of volumes and files, with optional rewind and/or lock or removal, where applicable.