*copyc amc$condition_code_limits
?? NEWTITLE := 'AME$LABEL_VALIDATION_ERRORS : ANSI: ''AM'' 350.. 389', EJECT ??
?? FMT (FORMAT := OFF) ??

{ AME$LABEL_VALIDATION_ERRORS }

   CONST
     amc$min_ecc_label_validation     = amc$min_ecc_validation + 350,

     ame$ansi_file_unexpired        = amc$min_ecc_label_validation + 1,
         {F File +F1 : The ANSI file whose labels you attempted to rewrite ..
         {has not yet expired.  Either you must wait for the file to  ..
         {expire, or you must initialize the volume: ..
         {(EXTERNAL_VSN= +P2, RECORDED_VSN= +P3).}

     ame$blank_volume_read           = amc$min_ecc_label_validation + 3,
         {F File +F1 : The volume (RECORDED_VSN=+P2) is a blank labeled ..
         {(i.e. empty) volume.

     ame$hdr1_label_missing          = amc$min_ecc_label_validation + 4,
         {E The +P1 parameter was specified but a HDR1 label is missing from ..
         {the blank label group to be used for volume initialization.

     ame$hdr2_label_missing         = amc$min_ecc_label_validation + 5,
         {E If a volume is being written by NOS/VE, a HDR2 label is required ..
         {in the blank label group to be used for volume initialization.

     ame$ignored_file_accessibility  = amc$min_ecc_label_validation + 6,
         {W File +F1 : The value that was specified for the FILE_ACCESSIBILITY ..
         {field was ignored when labels were rewritten at the beginning of the ..
         {file set.  To change the existing FILE_ACCESSIBILITY, you must first ..
         {initialize the volumes in the file set.}

     ame$ignored_owner_identifier    = amc$min_ecc_label_validation + 7,
         {W File +F1 : The value that was specified for the OWNER_IDENTIFIER ..
         {field was ignored when labels were rewritten at the beginning of the ..
         {file set.  If the existing OWNER_IDENTIFIER is <> SPACE, you must ..
         {first initialize the volumes in the file set to change this field.}

     ame$ignored_rmg                 = amc$min_ecc_label_validation + 8,
         {W File +F1 : The value that was specified for the REMOVABLE_MEDIA_GROUP ..
         {field was ignored when labels were rewritten at the beginning of the ..
         {file set.  If the existing REMOVABLE_MEDIA_GROUP is <> SPACE, you must ..
         {first initialize the volumes in the file set to change this field.}

     ame$ignored_vol_accessibility   = amc$min_ecc_label_validation + 9,
         {W File +F1 : The value that was specified for the VOLUME_ACCESSIBILITY ..
         {field was ignored when labels were rewritten at the beginning of the ..
         {file set.  If the existing VOLUME_ACCESSIBILITY is <> SPACE, you must ..
         {first initialize the volumes in the file set to change this field.}

     ame$improper_block_count        = amc$min_ecc_label_validation + 10,
         {W File +F1 : +P2 field - of an ANSI +P3 label contains ..
         {an improper value: '+P4'.+NThe field has been set to '+P5'.}

     ame$improper_label_field        = amc$min_ecc_label_validation + 11,
         {W File +F1 : +P2 field - of an ANSI +P3 label contains ..
         {an improper value: '+P4'.+NThe field has been set to SPACE.}

     ame$improper_security_change    = amc$min_ecc_label_validation + 12,
         {F File +F1 : Once the FILE_ACCESSIBILITY, OWNER_IDENTIFIER,..
         {and VOLUME_ACCESSIBILITY fields are set to a value other than ..
         {SPACE, this value cannot be changed.+NIt is first necessary ..
         {to initialize the volume: (EXTERNAL_VSN= +P2, RECORDED_VSN= +P3).}

     ame$initial_volume_unexpired    = amc$min_ecc_label_validation + 13,
         {F File +F1 : The volume (EXTERNAL_VSN= +P2, RECORDED_VSN= +P3) is ..
         {unexpired and does not belong to this file set because its ..
         {FILE_SECTION_NUMBER and FILE_SEQUENCE_NUMBER are both 1.+N ..
         {This implies that it is the initial volume of another file set.+N ..
         {If you intend to use this volume, it must first be initialized.}

     ame$insufficient_volume_access  = amc$min_ecc_label_validation + 14,
         {F File +F1 : You are either not validated for the required ..
         {REMOVABLE_MEDIA_ACCESS or your validation does not include ..
         {WRITE access to the volume: (EXTERNAL_VSN= +P2, RECORDED_VSN= +P3).}

     ame$invalid_date_field          = amc$min_ecc_label_validation + 15,
         {W File +F1 : The +P2 field - of an ANSI +P3 label contains ..
         {an invalid date field: '+P4'.+NAn invalid +P5 field is set to +P6.}

     ame$invalid_tape_security_call  = amc$min_ecc_label_validation + 16,
         {W File +F1 : Either the tape security call_block was NIL ..
         {or an invalid operation was requested.}

     ame$label_block_count_mismatch =  amc$min_ecc_label_validation + 17,
          {W File +F1 : The block count from the beginning of the ANSI file or ..}
          {file section does not match the block count in the corresponding ..
          {ANSI trailer label. +N..
          {CALCULATED_BLOCK_COUNT = +P2, +P3 BLOCK_COUNT=+P4.}

     ame$label_field_not_numeric     = amc$min_ecc_label_validation + 18,
         {W File +F1 : The +P2 field - of an ANSI +P3 label contains ..
         {a non-numeric value: '+P4'.+NThe field has been set to SPACE.}

     ame$label_not_in_sequence       = amc$min_ecc_label_validation + 19,
         {W File +F1 : The sought ANSI +P2 label was not found in the label ..
         {sequence.}

     ame$log_ansi1_label             = amc$min_ecc_label_validation + 20,
         {I File: +F1 - ANSI Label Encountered:+N..
         {+X12FILE_IDENTIFIER--FSETI-FSECFSEQGN--GVCDATE-EDATE-..
         {ABLKCNTIMPLEMENT_ID-RESERVD+N..
         {LABEL = +P2}

     ame$log_ansi2_label             = amc$min_ecc_label_validation + 21,
         {I File: +F1 - ANSI Label Encountered:+N..
         {+X12RMAXBLMAXRLBTRBEXREXPSC-----RESERVED-TO-VE----OL..
         {------RESERVED TO ANSI-----+N..
         {LABEL = +P2}

     ame$log_ansix_label             = amc$min_ecc_label_validation + 22,
         {I File: +F1 - ANSI Label Encountered:+N..
         {LABEL = +P2}

     ame$log_eof_block_count         = amc$min_ecc_label_validation + 23,
         {I End of File (EOF) +P1 for file +F2:+N..
         {FILE_SEQUENCE_NUMBER=+P3, FILE_SECTION_NUMBER=+P4, BLOCK_COUNT=+P5}

     ame$log_eov_block_count         = amc$min_ecc_label_validation + 24,
         {I End of Volume (EOV) +P1 for file +F2:+N..
         {FILE_SEQUENCE_NUMBER=+P3, FILE_SECTION_NUMBER=+P4, BLOCK_COUNT=+P5}

     ame$log_error_block             = amc$min_ecc_label_validation + 25,
         {I File: +F1+N..
         {While reading an ANSI label group, a block was read with error:..
         {+N+P2}

     ame$log_non_label_block         = amc$min_ecc_label_validation + 26,
         {I File: +F1+N..
         {While reading an ANSI label group, a non-label block was read:..
         {+N+P2}

     ame$log_vol1_label              = amc$min_ecc_label_validation + 27,
         {I File: +F1 - ANSI Label Encountered:+N..
         {+X12VOL_IDA--RESERVED---IMPLEMENT_ID-OWNER_ID------RES..
         {ERVED--------------------V+N..
         {LABEL = +P2}

     ame$no_removable_media_access   = amc$min_ecc_label_validation + 28,
         {F File +F1 : You either are not validated for the specified ..
         {REMOVABLE_MEDIA_GROUP or the REMOVABLE_MEDIA_ACCESS validation ..
         {denies access.}

     ame$not_initial_volume_of_set   = amc$min_ecc_label_validation + 29,
         {W File: +F1+N..
         {The volume, +P2, is not the first volume of the volume set.+N..
         {The FILE_IDENTIFIER of the initial file on this volume is: +P3.+N..
         {The FILE_SECTION_NUMBER of the initial file on this volume is: +P4.+N..
         {The FILE_SEQUENCE_NUMBER of the initial file on this volume is: +P5.}

     ame$rma_privilege_required      = amc$min_ecc_label_validation + 30,
         {F File +F1 : Execution under the SYSTEM_OPERATOR_UTILITY with ..
         {REMOVABLE_MEDIA_ADMINISTRATION capability active is required ..
         {to access a volume using a file_label_type of non_standard_labeled.}

     ame$rmo_privilege_required      = amc$min_ecc_label_validation + 31,
         {F Execution within the SYSTEM_OPERATOR_UTILITY with ..
         {REMOVABLE_MEDIA_OPERATION capability active is required ..
         {to initialize a volume.}

     ame$unlabeled_privilege_needed  = amc$min_ecc_label_validation + 32,
         {F File +F1 : Either execution within the SYSTEM_OPERATOR_UTILITY with ..
         {REMOVABLE_MEDIA_ADMINISTRATION capability active or a validation ..
         {for UNLABELED_TAPES is required to access a volume using a ..
         {file_label_type of unlabeled.}

     ame$vol1_label_missing          = amc$min_ecc_label_validation + 33,
         {E A VOL1 label is missing from the blank label group to be used for ..
         {volume initialization.

     ame$volume_access_restricted    = amc$min_ecc_label_validation + 34,
         {F File +F1 : The volume, +P2, is damaged.  Access to the volume is ..
         {provided only to a Removable Media Administrator (RMA).  An RMA may ..
         {only request the volume using a FILE_LABEL_TYPE of UNLABELED or  ..
         {NON_STANDARD_LABELED.}

     ame$volume_security_conflict    = amc$min_ecc_label_validation + 35,
         {F File +F1 : The volume (EXTERNAL_VSN= +P2, RECORDED_VSN= +P3) has a ..
         {value for the security fields FILE_ACCESSIBILITY, OWNER_IDENTIFIER, ..
         {and/or VOLUME_ACCESSIBILITY that does not match the value in effect ..
         {for the current file set.+NIf you intend to use this volume it must ..
         {first be initialized.

     ame$wrong_file_set_identifier   = amc$min_ecc_label_validation + 36,
         {F File +F1 : The volume, (EXTERNAL_VSN= +P2, RECORDED_VSN= +P3) has ..
         {a FILE_SET_IDENTIFIER, +P4, which does not match the ..
         {FILE_SET_IDENTIFIER, +P5, of the current volume set.

     ame$insufficient_file_access  = amc$min_ecc_label_validation + 37,
         {F File +F1 : You are not authorized to access this ANSI file.

     amc$max_ecc_label_validation    = amc$min_ecc_label_validation + 389;

?? FMT (FORMAT := ON) ??
?? OLDTITLE ??
