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

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

<sddl>

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- -->
<!--  SDDL Name:    PODDANS-->
<!-- -->
<!--  Purpose:      This SDDL file defines the PODDANS relation.-->
<!-- -->
<!--  Modification History:-->
<!-- -->
<!--    Date       PR      Who                       Reason-->
<!--  - - - -    - - - -   - -      - - - - - - - - - - - - - - - - - - - - -->
<!--  07/02/96   28182     Rose     Original implementation -->
<!--  02/02/98   34261     WMiller  Increased full_name size to 41 -->
<!--  08/18/99   39437     MARose   Added indices for dan_seq_no and product_name-->
<!--  06/19/02    46030     J.Baum   Add index for full_name -->
<lm>  07/03/03   48821     CTB   Converted to XML format </lm> <!-- last mod -->
<lm>  12/17/03   49797     Gardner  Make full_name unique index. See pr 48849 </lm>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->


    <record name="PODDANS">

        <description>This relation preserves critical information from the PACOR/
                DDF Data Availability Notice (DAN) which specifies more
                complete identification information about each POD file
                received sent by the DDF</description>


        <field name="podname">
                <type>C23</type>
                <description>OPUS name of the POD file</description>
        </field>

        <field name="dan_seq_no">
                <type>I4</type>
                <description>DAN sequence number</description>
        </field>

        <field name="product_name">
                <type>C20</type>
                <description>DDF name of the product</description>
        </field>

        <field name="instance">
                <type>I2</type>
                <description>DDF instance of this product</description>
        </field>

        <field name="dan_gen">
                <type>C21</type>
                <description>DAN generation time</description>
        </field>

        <field name="length">
                <type>I4</type>
                <description>Number of bytes in the datafile</description>
        </field>

        <field name="ddf_num">
                <type>I2</type>
                <description>DDF observation id (DCF_NUM)</description>
        </field>

        <field name="version">
                <type>I2</type>
                <description>DDF data version number</description>
        </field>

        <field name="full_name">
                <type>C41</type>
                <description>Original name of the data file</description>
        </field>

        <field name="appended">
                <type>C17</type>
                <description>time stamp when this record was appended</description>
        </field>

    </record>



    <relation name="poddans">

        <type>PODDANS</type>

        <description>POD Data Availability Notice information</description>

        <subsystem_using>OPUS</subsystem_using>

        <index name="poddans_1">
            <type>unique clustered</type>
            <field name="full_name"/>
            <field name="podname"/>
            <field name="appended"/>
        </index>

        <index name="poddans_2">
            <type>nonclustered</type>
            <field name="podname"/>
        </index>

        <index name="poddans_3">
            <type>nonclustered</type>
            <field name="dan_seq_no"/>
        </index>

        <index name="poddans_4">
            <type>nonclustered</type>
            <field name="product_name"/>
        </index>

    </relation>



    <instance  name="poddans" scope="global" type="PODDANS" />


</sddl>
