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

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

<sddl>

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- -->
<!--  SDDL Name:    PNMFOF_TABLE.SDDL     -->
<!-- -->
<!--  Purpose:      This SDDL file defines the PNMFOF_TABLE relation-->
<!-- -->
<!--  Modification History:-->
<!-- -->
<!--    Date       PR      Who               Reason-->
<!-- - - - - -   - - -     - - - - -   - - - - - - - - - - - - - - - - - -->
<!--  07/09/98   36119     JSCHULTZ     original-->
<!--  12/07/98   37507     Ken S.	Added fof_complete_date. -->
<!--  08/29/00   42336     J.Baum       Supply index.           -->
<lm>  07/03/03   48821     CTB   Converted to XML format </lm> <!-- last mod -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->


    <record name="SUB_TYPE">
           <description>This SDDL file defines the PNMFOF_TABLE relation. It is
                 used to track the transfer and processing of FOF files
                 designated by a PNM (Product Notification Message) from
                 CCS. </description>

           <field name="pnm_name">
                   <type>C*17</type>
                   <description>PNM File Name</description>
           </field>

           <field name="pnm_notification_date">
                   <type>C*22</type>
                   <description>PNM File notification Date in yyyy.ddd:hh:mm:ss.sss</description>
           </field>

           <field name="pnm_receipt_date">
                   <type>C*22</type>
                   <description>PNM File receipt Date in yyyy.ddd:hh:mm:ss.sss</description>
           </field>

           <field name="fof_name">
                   <type>C*15</type>
                   <description>FOF File Name</description>
           </field>

           <field name="fof_transfer_date">
                   <type>C*22</type>
                   <description>FOF File transfer Date in yyyy.ddd:hh:mm:ss.sss</description>
           </field>

           <field name="fof_complete_date">
                   <type>C*22</type>
                   <description>FOF File competion Date in yyyy.ddd:hh:mm:ss.sss</description>
           </field>

    </record>


    <relation name="pnmfof_table">

        <type>SUB_TYPE</type>

        <description>A historical account of what Subset Files were generated
                 from what FOF Files and when.</description>

        <subsystem_using>OMS</subsystem_using>

        <index name="pnmfof_table_1">
            <type>unique clustered</type>
            <field name="pnm_name"/>
            <field name="pnm_receipt_date"/>
            <field name="fof_name"/>
        </index>

        <index name="pnmfof_table_2">
            <type>nonclustered</type>
            <field name="fof_name"/>
            <field name="pnm_receipt_date"/>
        </index>

    </relation>


    <instance  name="pnmfof_table" scope="global" type="SUB_TYPE" />

</sddl>
