SEOV (System End-of-Volume) Macro
The macro can be used only with physical IOCS to automatically switch volumes if SYSLST or SYSPCH are assigned to a tape output file.
SEOV writes a tapemark, rewinds, and unloads the tape, and checks for an alternate tape. If none is found, a message is issued to the operator who can mount a new tape on the same drive and continue.
If an alternate unit is assigned, the macro fetches the alternate switching routine to promote the alternate unit, opens the new tape, and makes it ready for processing. When using this macro, you must check for the end-of-volume condition in the CCB.
Format
Requirements for the caller
- AMODE:
- 24
- RMODE:
- 24
- ASC Mode:
- Primary
Parameters
- filename | (1)
- Specifies the name of the file for which the end-of-volume operation is requested. The name is the same as that specified as name in the DTFPH macro for the file.