COBOL · File status code
What does File Status 07 mean in COBOL?
An OPEN or CLOSE statement used the REEL/UNIT phrase against a file on a device that is not reel or unit medium (for example, a disk file instead of tape).
An OPEN or CLOSE statement used the REEL/UNIT phrase against a file on a device that is not reel or unit medium (for example, a disk file instead of tape).
Remove the REEL/UNIT phrase for non-tape files, or confirm the DD/device assignment actually points at tape if that phrase is required.