OUTPUT is valid for all files. When you specify OUTPUT, the procedure is run for all files opened in OUTPUT mode that get an error.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.