This macro assigns the specified general tape to the ECB issuing the TASNC
macro.
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 2 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.
The following macro format is still supported:
- label
- A symbolic name can be assigned to the macro statement.
- tape_name
- A 3-character symbolic general tape name must be specified as the first
positional parameter.
Entry Requirements
- R9 must contain the address of the ECB being processed.
- The general tape specified by this macro must be open when this macro is
issued.
Return Conditions
- Control is returned to the next sequential instruction.
- The contents of R14 and R15 are unknown. The contents of all other
registers are preserved across this macro call.
- The tape position is unchanged.
Programming Considerations
- This macro can be executed on any I-stream.
- Both keyword and positional parameters may be used in the same macro
call. This practice is not recommended.
- If the specified tape was not reserved before this macro was issued,
processing of the entry is suspended until the tape is placed in reserved
status. This implied wait can cause the entry to give up control of the
system.
- If this macro is issued prior to the end of tape restart, the ECB is
exited and a system error issued.
Examples
None.