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

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

<sddl>

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- -->
<!--  SDDL Name:    WAVCAL.SDDL       -->
<!-- -->
<!--  Purpose:      This SDDL file defines the relation WAVCAL       -->
<!-- -->
<!--  Modification History:-->
<!-- -->
<!--    Date       OPR      Who                    Reason -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!--  02-AUG-96   30320    Ken S.       -->
<!-- 01-SEP-96    30320    Ken S. Changed relation name to lower case.  --> 
<!-- 31-JAN-97    30320.3  Ken S. Added association_name to unique index. -->
<!-- 17-JAN-03    46752    J.Baum  Add orphan_flag field. -->
<lm>  07/03/03    48821     CTB   Converted to XML format </lm> <!-- last mod -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->


    <record name="WAVCAL_TYPE">

        <description>To track wavcal exposures processed by OMSASN command.</description>

        <field name="association_name">
            <type>C9</type>
            <description>The name given to an association product.</description>
        </field>

        <field name="member_name">
            <type>C9</type>
            <description>The name given to a member of an association.</description>
        </field>

        <field name="orphan_flag">
            <type>C1</type>
            <description>(Y/N) Is this member an orphan in this association?</description>
        </field>

    </record>


    <relation name="wavcal">

        <type>WAVCAL_TYPE</type>

        <description>wavcal exposures processed by OMSASN</description>

        <subsystem_using>OMS</subsystem_using>

        <index name="wavcal_1">
            <type>unique clustered</type>
            <field name="association_name"/>
            <field name="member_name"/>
        </index>
 
    </relation>

    <instance  name="wavcal" scope="global" type="WAVCAL_TYPE" />
    
</sddl>
