gtpc2m7g | C/C++ Language Support User's Guide |
This function closes a general tape, forcing a logical dismount from the system and causing the tape to be physically rewound and unloaded from the tape drive. The named tape must be physically mounted, logically open, and assigned to the issuing entry control block (ECB).
Format
#include <tpftape.h> void tclsc(const char *name);
Normal Return
Void.
Error Return
Not applicable.
Programming Considerations
Examples
The following example closes a tape with name VPH.
#include <tpftape.h>
·
·
·
tclsc("VPH");
Related Information