basic.rewind
Rewinds magnetic media.
Syntax
rewind [then | else | onerr statement.block]
Description
rewinds the currently attached magnetic media unit to the 'beginning' of the media.
If the tape is not attached or not on-line, the 'else' or 'onerr' clause, if present, is executed. Otherwise the 'then' clause is executed. In addition, the 'onerr' statement can be used to check for a 'tape unit not ready' error.
Either 'else' or 'onerr' may be specified, but not both. See the 'then/else construct' for an explanation on the use of 'then' and 'else' clauses in statements that allow or require them.
Example
execute 't-att'
rewind else
crt 'cannot rewind the tape'
stop
end
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
