{
{   The purpose of this request is to reposition to the beginning of
{ information of the file.  This request has meaning only for files opened
{ with amc$record access_level.
{
{   If the file_instance specified was opened for private_read then only
{ that instance will be repositioned to the the beginning of information.
{ If the file_instance specified was not opened for private_read then all
{ instances of open for the file will be repositioned.
{
{   For a file associated with tape for which the preceding operation was an
{ output, the file and volume are terminated according to convention.  If the
{ label_type is amc$labelled, the standard ANSI EOF labels are written.  If a
{ label_exit_procedure(*) was specified, control passes to this procedure for
{ user label processing.  For all label types, two tapemarks are then written
{ to terminate the file and volume.
{
{   If the label_type is amc$labelled and the HDR1 label corresponding to this
{ instance of open of the tape file is not on the current volume, the current
{ volume is dismounted and the volume containing the HDR1 label is mounted.
{ The HDR1 for the ANSI file is then located and the HDR labels are validated.
{ The file is then positioned after the tapemark following the HDR label
{ group.
{
{   If the label_type is amc$unlabelled or amc$non_standard_labelled, the
{ file is positioned at the beginning of the first volume in the list of
{ volumes associated with the tape file.  Refer to the REQUEST_MAGNETIC_TAPE
{ command and the rmp$request_tape program interface.
{
{   If a label_exit_procedure(*) was specified, control passes to this
{ procedure for user label processing after the system HDR labels have been
{ processed by the access method.
{
{       AMP$REWIND (FILE_IDENTIFIER, WAIT, STATUS)
{
{ FILE_IDENTIFIER: (input)  This parameter specifies the file access
{       identifier established when the file was opened.
{
{ WAIT: (input)  This parameter specifies the action to be taken if the rewind
{       can not be completed without causing a physical I/O operation to be
{       submitted.  wait:  Don't return control until the operation is
{       complete.  nowait:  Return control to the user even though the
{       operation may not be complete.  The AMP$FETCH_ACCESS_INFORMATION
{       request may be used to determine the last_op_status.
{
{ STATUS: (output) This parameter specifies the request status.
{       CONDITION:  ame$accessibility_conflict,
{                   ame$block_type_conflict,
{                   ame$file_set_id_conflict,
{                   ame$fsn_out_of_sequence,
{                   ame$improper_access_level,
{                   ame$non_ansi_labels,
{                   ame$record_type_conflict,
{                   ame$ring_validation_error,
{                   ame$section_out_of_sequence,
{                   ame$tape_end_of_volume_list,
{                   ame$unrecovered_write_error.
{       IDENTIFIER: amc$access_method_id.
{
