CLOSE *ALL closes only global files; local files are not closed by the operation.
10
Cause . . . . . : The CLOSE *ALL operation applies only to global files. The local files defined in the procedure are not closed by the CLOSE *ALL operation.
Recovery . . . : If it is necessary to close the files defined locally in the procedure, code a separate CLOSE operation for each file.