The T-ATT command attaches the currently selected tape unit to your process, giving you exclusive control of the assigned tape drive. Use this command before you try to access a tape drive.
Format
T-ATT [block] |
Parameter(s)
block |
Block size of the tape record, in bytes. The maximum is 32,256 bytes. |
Description
When a user logs on to the system, tape unit 0 is automatically selected by default, but it is not attached to the user’s process. To find out what tape unit is currently selected for your process, use the ? option of the T-SELECT command. To select another tape unit and attach to it, use T-SELECT.
If you are not attached to the currently selected tape unit, use the T-ATT command. If you do not include the block size, the following default block sizes apply:
For 1/4-inch tape drives: |
16,896 bytes |
For Floppy tape drives: |
500 bytes |
NOTE |
Floppy tape drives only support a block size of 500 bytes. |
When you attach the tape unit to your process successfully, the following message displays:
TAPE ATTACHED BLOCK SIZE: xxxx |
Parameter(s)
xxxx |
Block size. |
If the selected tape unit is already attached to your process, the following message displays:
BLOCK SIZE: xxxx |
If the selected tape unit is attached to another process, the following message displays:
DEVICE ATTACHED TO USER x |
Parameter(s)
x |
Process number to which the tape unit is attached. |
The tape unit is automatically detached from your process when you log off. You can also detach it at any time by issuing the T-DET command.