gtpc2m7pC/C++ Language Support User's Guide

tourc-Write Real-Time Tape Record/Release Storage Block

This function causes the record on the specified data level to be written to a real-time tape, and returns the block to the available pool.

Format

#include <tpftape.h>
void     tourc(const char *name, enum t_lvl level);

name
This argument is a pointer to type char, which must be a 3-character string identifying the tape to be written to. This function can only be called for a real-time tape.

level
One of 16 possible values representing a valid data level from the enumeration type t_lvl, expressed as Dx, where x represents the hexadecimal number of the level (0-F). The working storage block on this level is the record to be written to tape.

Normal Return

Void.

Error Return

Not applicable.

Programming Considerations

Examples

The following example writes the working storage block on level D9 to the RTA tape. On return, the block is no longer available to the operational program.

#include <tpftape.h>

  ·
  ·
  ·
tourc("RTA",D9);

Related Information