gtpc2m7eC/C++ Language Support User's Guide

tasnc-Assign General Tape to ECB

This function assigns the specified general tape name to the issuing ECB, permitting the issuing ECB to have exclusive I/O access to the tape.

Format

#include   <tpftape.h>
void       tasnc(const char *name);

name
This argument is a pointer to type char, which must be a three-character string identifying the tape to be assigned. This function can only be called for a general tape.

Normal Return

Void.

Error Return

Not applicable.

Programming Considerations

Examples

The following example assigns tape VPH to the ECB that is executing now.

#include <tpftape.h>

  ·
  ·
  ·
tasnc("VPH");

Related Information