gtpg2m4bGeneral Macros

TOPNC-Open a General Tape

This general macro makes the specified general tape available to the operational program.

Format




label
A symbolic name can be assigned to the macro statement.

NAME
Specifies the symbolic general tape name. It can be:

ccc
A 3-character string representing a symbolic general tape name. The first 2 characters must be alphabetic, and the third character must be alphabetic or numeric. For general tapes, the first two characters cannot be RT.

(Rn)
The number of a register containing a pointer to the symbolic real-time tape name. n must be a decimal number from 0 through 7, 14, or 15.

STATUS=I|O
The input or output status must be specified. This parameter must be coded as either I or O.

BUF
An optional keyword parameter can be specified indicating the output mode to be used when writing to buffered devices.

YES
Buffered mode is to be used.

NO
Tape Write Immediate (TWI) mode is to be used.

If omitted, a default of BUF=NO is assumed. This parameter has meaning only when the tape is mounted on a buffered device. It is ignored when the tape is mounted on a nonbuffered device.

The following macro format is still supported:



Notes:

  1. status

label
A symbolic name can be assigned to the macro statement.

name
A 3-character symbolic general tape name must be specified as the first parameter.

status
The input or output status must be specified as the second parameter. This parameter must be coded as either I or O.

BUF
An optional keyword parameter can be specified indicating the output mode to be used when writing to buffered devices.

YES
Buffered mode is to be used.

NO
Tape Write Immediate (TWI) mode is to be used.

If omitted, a default of BUF=NO is assumed. This parameter has meaning only when the tape is mounted on a buffered device. It is ignored when the tape is mounted on a nonbuffered device.

Entry Requirements

Return Conditions

Programming Considerations

Examples

None.