{  PURPOSE:
{    This common deck has all the set error conditions, and messages.
{
*copyc stc$set_management_id

  CONST
    stc$null_parameter = '',

*IF $true(osv$unix)
    stc$st_errors = (($INTEGER ('S') * 100(16)) + $INTEGER ('E')) * 10000(16),
*ELSE
    stc$st_errors = (($INTEGER ('S') * 100(16)) + $INTEGER ('E')) * 1000000(16),
*IFEND

    ste$bad_set_name = stc$st_errors + 0,
    {E Set name parameter "+P1" is improper.}

    ste$bad_master_vol_desc = stc$st_errors + 1,
    {E Master-volume VSN parameter "+P1" is improper.}

    ste$bad_member_vol_desc = stc$st_errors + 2,
    {E Member-volume VSN parameter "+P1" is improper.}

    ste$bad_set_owner = stc$st_errors + 3,
    {E Either user "+P1" or family "+P2" parameter is improper.}

    ste$bad_access_status = stc$st_errors + 4,
    {E The ACCESS-STATUS parameter is improper.}

    ste$master_belongs_to_set = stc$st_errors + 5,
    {E Master volume "+P1" already belongs to another set.}

    ste$set_already_active = stc$st_errors + 6,
    {E Set name "+P1" is already active.}

    ste$set_not_master_owner = stc$st_errors + 7,
    {E User "+P1" of family "+P2" does not own master volume "+P3" ..
    { of set "+P4".}

    ste$exceeded_max_num_vol = stc$st_errors + 8,
    {E Set "+P1" is full. Volume "+P2" was not added.}

    ste$bad_unique_member = stc$st_errors + 9,
    {E The unique set name for volume "+P1" does not match that ..
    { in the active set table.}

    ste$set_not_member_owner = stc$st_errors + 10,
    {E User "+P1" of family "+P2" does not own set "+P3" and cannot ..
    { assign a member to it.}

    ste$vol_on_set = stc$st_errors + 11,
    {E There are still volume(s) assigned to set "+P1".}

    ste$wrong_master = stc$st_errors + 12,
    {E Volume "+P1" is not the master volume of set "+P2".}

    ste$master_not_active = stc$st_errors + 13,
    {E The master volume "+P1" of set "+P2" is not active.}

    ste$job_not_member_owner = stc$st_errors + 14,
    {E User "+P1" of family "+P2" does not own member volume "+P3".}

    ste$wrong_set_given = stc$st_errors + 15,
    {E Volume "+P1" is listed as being assigned to set "+P2", not ..
    { to set "+P3".}

    ste$vol_not_in_set = stc$st_errors + 16,
    {E Volume "+P1" is not assigned to set "+P2".}

    ste$diff_unique_set_active = stc$st_errors + 17,
    {E Volume "+P1" has the same set-name as active set "+P2"; ..
    { but it has a different unique-set-name.}

    ste$mel_mvl_mismatch = stc$st_errors + 18,
    {E System Error: Volume "+P1" is listed in set "+P2"; but was not ..
    { found in the master volume-set-table.}

    ste$set_not_active = stc$st_errors + 19,
    {E The set is not active.}
    stc$set_not_active_cond = stc$st_errors + 19,

    ste$set_not_job_owner = stc$st_errors + 20,
    {E User "+P1" of family "+P2" is not the owner or administrator ..
    { of set "+P3".}

    ste$member_not_in_master = stc$st_errors + 21,
    {E Volume "+P1" was not found in the member volume list ..
    { of set "+P2".}

    ste$bad_mel_generated = stc$st_errors + 22,
    {E System error: Volume "+P1" was not found in the ..
    { active set table member-list of set "+P2" (and the ..
    { master volume has been active).}

    ste$not_allowing_access = stc$st_errors + 23,
    {E Access to set "+P1" is not allowed.}

    ste$jast_ast_mismatch = stc$st_errors + 24,
    {E Set "+P1" was found in the job's active-set-table; but not ..
    { in the system active-set-table.}

    ste$jobs_on_set = stc$st_errors + 25,
    {E There are still job(s) registered in the master catalog ..
    { of set "+P1".}

    ste$master_ast_mismatch = stc$st_errors + 26,
    {E Master volume "+P1" unique set name does not match ..
    { the unique set name in the active set table.}

    ste$users_on_set = stc$st_errors + 27,
    {E There are still user(s) registered in the master catalog ..
    { of set "+P1".}

    ste$files_on_vol = stc$st_errors + 28,
    {E Volume "+P1" still contains file(s).}

    ste$down_vol_used = stc$st_errors + 29,
    {E System error: Volume "+P1" of set "+P2" was deactivated ..
    { while the set was still in use, and the remount attempt ..
    { failed.}

    ste$dm_ast_mismatch = stc$st_errors + 30,
    {E System error: The unique-set-name of volume "+P1" ..
    { cannot be found in the active set table.}

    ste$dm_mel_mismatch = stc$st_errors + 31,
    {E System error: Volume "+P1", maintained by device management, ..
    { cannot be found by set management in set "+P2".}

    ste$member_not_active = stc$st_errors + 32,
    {E Member volume "+P1" is not active.}

    ste$no_space_vst_heap = stc$st_errors + 33,
    {E System error: There is no space left in the heap of volume "+P1".}

    ste$member_vol_in_set = stc$st_errors + 34,
    {E Volume "+P1" is already assigned to a set.}

    ste$member_not_in_mel = stc$st_errors + 35,
    {E System error: Volume "+P1" is not in the member-entry-list ..
    { of set "+P2".}

    ste$push_failed = stc$st_errors + 36,
    {E System error: Push failed. Size = "+P2" .}

    ste$set_ord_not_set = stc$st_errors + 37,
    {E The set ordinal is not valid.}

    ste$no_scratch_volumes = stc$st_errors + 38,
    {E There are no scratch volumes available. }

    ste$vol_not_found = stc$st_errors + 39,
    {E Volume "+P1" was not found in the active set table.}

    ste$open_error = stc$st_errors + 40,
    {E Device file for volume "+P1" cannot be opened.}

    ste$attach_error = stc$st_errors + 41,
    {E The device file for volume "+P1" cannot be attached.}

    ste$vst_exists_not_in_set = stc$st_errors + 42,
    {E System error: Volume "+P1" has a volume set table; ..
    { but it is not assigned to any set.}

    ste$ast_vst_master_mis = stc$st_errors + 43,
    {E Volume "+P1" lists the master volume of set "+P2" as ..
    { "+P3" when the active set table lists it as "+P4".}

    ste$internal_vsn_mismatch = stc$st_errors + 44,
    {E The internal VSN of volume "+P1" does not match ..
    { that in the set table.}

    ste$pf_root_not_stored = stc$st_errors + 45,
    {E The permanent file root for set "+P1" was not stored.}

    ste$incorrect_root_size = stc$st_errors + 46,
    {E The size of the permanent file root of set "+P1" does not ..
    { match the recorded size.}

    ste$lock_set_in_task = stc$st_errors + 47,
    {E System error: Set "+P1" already has the permanent file lock set.}

    ste$lock_not_set = stc$st_errors + 48,
    {E System error: An attempt was made to clear an unset permanent file ..
    { lock on set "+P1".}

    ste$dm_avt_index_mismatch = stc$st_errors + 49,
    {E System error: Device management could not store the set ordinal ..
    { for volume "+P1" because of avt index mismatch.}

    ste$impossible_to_mount = stc$st_errors + 50,
    {E It is not possible to mount volume "+P1".}

    ste$lock_set_in_another_task = stc$st_errors + 51,
    {E The permanent file lock for set "+P1" is busy.}

    ste$attach_df_error = stc$st_errors + 52,
    {E The device file for volume "+P1" cannot be attached.}

    ste$incompatible_vst_version = stc$st_errors + 53,
    {E The volume set table recorded on volume "+P1" is incompatible with
    { the current system (recorded version: "+P2", current version: "+P3").

    ste$vol_set_table_lost_data = stc$st_errors + 54,
    {E The volume set table on volume "+P1" has lost data integrity, and
    { cannot be used.}

     ste$all_volumes_not_active = stc$st_errors + 55,
     {E Not all volumes active. +P1 +P2 }

     ste$improper_recorded_vsn = stc$st_errors + 56,
     {E Improper recorded vsn.  All characters must be alphanumeric.

     ste$duplicate_master_initdd = stc$st_errors + 57,
     {E Volume +P1 has been re-initialized as the master of set +P2, but
     { volume +P3 is already the master.
     {+N3 Either INITIALIZE_MS_VOLUME the old master volume +P3, OR
     {+N5 INITIALIZE_DEADSTART_DEVICE the old master +P3 with
     { RECOVER_SYSTEM_SET, and INITIALIZE_MS_VOLUME the new master +P1.

     ste$remove_master_volume = stc$st_errors + 58,
     {E Volume +P1 is the master volume of set +P2 and cannot be removed.}

     ste$quit_lcu = stc$st_errors + 59,
     {E Unable to activate set while LCU is active.}

     ste$member_active_or_unavail = stc$st_errors + 60;
     {E The specified members can be be removed. Volumes are active +P1
     { or not a set member +P2.

  CONST

    stc$space_unavailable_ast = 'There is no space for the active set table.',
    stc$space_unavailable_jast = 'There is no space for the job set table.';
