<?xml version="1.0" encoding="UTF-8"?>

<!-- <!DOCTYPE sddlschema SYSTEM "sddlschema.xsd">-->

<sddl>

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- -->
<!--  SDDL Name:    STIS_OLD_ASNS.SDDL-->
<!-- -->
<!--  Purpose:      This SDDL file defines the STIS_OLD_ASNS relation.-->
<!-- -->
<!--  Modification History:-->
<!-- -->
<!--    Date       OPR      Who                       Reason-->
<!--  - - - -    - - - -    - -   - - - - - - - - - - - - - - - - - - - - - -->
<!--  08/31/06   56359      MSwam  first version         -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->


    <record name="STIS_OLD_ASNS_TYPE">

        <description>This relation documents STIS association names
                   that were originally specified by TRANS,
                   but that were later combined with other singletons
                   to form DMS associations during reprocessing.
                   To determine what the members of the original association
                   were, the members of the DMS association can be found
                   in asn_members, and the added members specified in
                   stis_old_asns can be subtracted.  This will result
                   in the original set of ASN members.
                   See OPUS OPRs 56359 and 55219 for details.  </description>
                                     

            <field name="old_association_id">
                    <type>C9</type>

                    <description>The name of a TRANS-specified STIS association
                    that has been combined with singleton exposures to form
                    a DMS association during reprocessing. </description>
            </field>

            <field name="new_association_id">
                    <type>C9</type>

                    <description>The name of a STIS DMS association created
                    during reprocessing by combining the members of an
                    original TRANS-specified association with original 
                    singletons.  The original singletons are documented in
                    the stis_old_asns table. </description>
            </field>

    </record>



    <relation name="stis_old_asns">

        <type>STIS_OLD_ASNS_TYPE</type>

        <description>STIS TRANS/DMS association mapping table</description>

        <subsystem_using>OPUS</subsystem_using>

        <index name="stis_old_asns_1">
            <type>unique clustered</type>
            <field name="old_association_id"/>
            <attr>ignore_dup_key</attr>
        </index>

    </relation>
</sddl>
