EXTEND is valid only for files with sequential organization and sequential access mode. When you specify EXTEND, the procedure is run for all files opened in EXTEND mode that get an error.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.