When the REEL or UNIT phrase is specified for an output file, it indicates that a sequential multivolume file is being created, and that no more records are to be written to the current volume of the file. The following processing takes place:
When the REEL or UNIT phrase is specified for a sequential multivolume file that is open for input, the current volume is positioned to read the standard labels. If this is the last volume of the file, the program continues, and the next READ statement that is processed will cause the AT END condition to occur. If this is not the last volume of the file:
The REEL or UNIT phrase is optional for sequential single volume files open for input. It is syntax-checked only, and performs no function at run time.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.