gtpc2m7b | C/C++ Language Support User's Guide |
This function makes a general tape available to the operational program.
Format
#include <tpftape.h> void tape_open(const char *name, int io);
Normal Return
Void.
Error Return
Not applicable.
Programming Considerations
The specified tape is positioned at the first record and is in the reserved state, meaning that it is available for use by any ECB.
Examples
The following example opens a VPH tape for output and issues a system error with message if the tape is not available for use.
#include <tpftape.h>
·
·
·
tape_open("VPH", OUTPUT);
Related Information