Example of a User-Defined Formats Scoring File

Here is an example of a user-defined formats scoring file. The filename is sasscore_score_ufmt.xml.
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="SUVformats.xsl"?>
<LIBRARY type="EXPORT" version="SUV">
   <HEADER>
      <Provider>SAS Institute Inc.</Provider>
      <Version>9.2</Version>
      <VersionLong>9.02.02M2D09012009</VersionLong>
      <CreationDateTime>2009-12-14T12:47:03</CreationDateTime>
   </HEADER>
    
   <TABLE name="sasscore_score_ufmt">
      <TABLE-HEADER>
         <Provider>SAS Institute Inc.</Provider>
         <Version>9.2</Version>
         <VersionLong>9.02.02M2D09012009</VersionLong>
         <CreationDateTime>2009-12-14T12:47:03</CreationDateTime>
         <ModifiedDateTime>2009-12-14T12:47:03</ModifiedDateTime>
          
         <Protection />
         <DataSetType />
         <DataRepresentation />
         <Encoding>utf-8</Encoding>
         <ReleaseCreated />
         <HostCreated />
         <FileName>sasscore_score_ufmt</FileName>
          
         <Observations />
         <Compression number="1" />
         <Variables number="21" />
      </TABLE-HEADER>
    
      <COLUMN name="FMTNAME" label="Format name">
         <TYPE>character</TYPE>
         <DATATYPE>string</DATATYPE>
         <LENGTH>32</LENGTH>
         <Offset>32</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="START" label="Starting value for format">
         <TYPE>character</TYPE>
         <DATATYPE>string</DATATYPE>
         <LENGTH>16</LENGTH>
         <Offset>16</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="END" label="Ending value for format">
         <TYPE>character</TYPE>
         <DATATYPE>string</DATATYPE>
         <LENGTH>16</LENGTH>
         <Offset>16</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="LABEL" label="Format value label">
         <TYPE>character</TYPE>
         <DATATYPE>string</DATATYPE>
         <LENGTH>3</LENGTH>
         <Offset>3</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="MIN" label="Minimum length">
         <TYPE>numeric</TYPE>
         <DATATYPE>double</DATATYPE>
         <LENGTH>3</LENGTH>
         <Offset>3</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="MAX" label="Maximum length">
         <TYPE>numeric</TYPE>
         <DATATYPE>double</DATATYPE>
         <LENGTH>3</LENGTH>
         <Offset>3</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="DEFAULT" label="Default length">
         <TYPE>numeric</TYPE>
         <DATATYPE>double</DATATYPE>
         <LENGTH>3</LENGTH>
         <Offset>3</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="LENGTH" label="Format length">
         <TYPE>numeric</TYPE>
         <DATATYPE>double</DATATYPE>
         <LENGTH>3</LENGTH>
         <Offset>3</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="FUZZ" label="Fuzz value">
         <TYPE>numeric</TYPE>
         <DATATYPE>double</DATATYPE>
         <LENGTH>8</LENGTH>
         <Offset>8</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="PREFIX" label="Prefix characters">
         <TYPE>character</TYPE>
         <DATATYPE>string</DATATYPE>
         <LENGTH>2</LENGTH>
         <Offset>2</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="MULT" label="Multiplier">
         <TYPE>numeric</TYPE>
         <DATATYPE>double</DATATYPE>
         <LENGTH>8</LENGTH>
         <Offset>8</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="FILL" label="Fill character">
         <TYPE>character</TYPE>
         <DATATYPE>string</DATATYPE>
         <LENGTH>1</LENGTH>
         <Offset>1</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="NOEDIT" label="Is picture string noedit?">
         <TYPE>numeric</TYPE>
         <DATATYPE>double</DATATYPE>
         <LENGTH>3</LENGTH>
         <Offset>3</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="TYPE" label="Type of format">
         <TYPE>character</TYPE>
         <DATATYPE>string</DATATYPE>
         <LENGTH>1</LENGTH>
         <Offset>1</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="SEXCL" label="Start exclusion">
         <TYPE>character</TYPE>
         <DATATYPE>string</DATATYPE>
         <LENGTH>1</LENGTH>
         <Offset>1</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="EEXCL" label="End exclusion">
         <TYPE>character</TYPE>
         <DATATYPE>string</DATATYPE>
         <LENGTH>1</LENGTH>
         <Offset>1</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="HLO" label="Additional information">
         <TYPE>character</TYPE>
         <DATATYPE>string</DATATYPE>
         <LENGTH>11</LENGTH>
         <Offset>11</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="DECSEP" label="Decimal separator">
         <TYPE>character</TYPE>
         <DATATYPE>string</DATATYPE>
         <LENGTH>1</LENGTH>
         <Offset>1</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="DIG3SEP" label="Three-digit separator">
         <TYPE>character</TYPE>
         <DATATYPE>string</DATATYPE>
         <LENGTH>1</LENGTH>
         <Offset>1</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="DATATYPE" label="Date/time/datetime?">
         <TYPE>character</TYPE>
         <DATATYPE>string</DATATYPE>
         <LENGTH>8</LENGTH>
         <Offset>8</Offset>
         <SortedBy />
      </COLUMN>

      <COLUMN name="LANGUAGE" label="Language for date strings">
         <TYPE>character</TYPE>
         <DATATYPE>string</DATATYPE>
         <LENGTH>8</LENGTH>
         <Offset>8</Offset>
         <SortedBy />
      </COLUMN>

      <ROW>
         <FMTNAME missing=" " />
         <START missing=" " />
         <END missing=" " />
         <LABEL missing=" " />
         <MIN missing=" " />
         <MAX missing=" " />
         <DEFAULT missing=" " />
         <LENGTH missing=" " />
         <FUZZ missing=" " />
         <PREFIX missing=" " />
         <MULT missing=" " />
         <FILL missing=" " />
         <NOEDIT missing=" " />
         <TYPE missing=" " />
         <SEXCL missing=" " />
         <EEXCL missing=" " />
         <HLO missing=" " />
         <DECSEP missing=" " />
         <DIG3SEP missing=" " />
         <DATATYPE missing=" " />
         <LANGUAGE missing=" " />
      </ROW>

      <ROW>
         <DELTA-RECORD key="ABC" />
         <FMTNAME>ABC</FMTNAME>
         <START>1</START>
         <END>1</END>
         <LABEL>yes</LABEL>
         <MIN>1</MIN>
         <MAX>40</MAX>
         <DEFAULT>3</DEFAULT>
         <LENGTH>3</LENGTH>
         <FUZZ>1E-12</FUZZ>
         <PREFIX missing=" " />
         <MULT>0</MULT>
         <FILL missing=" " />
         <NOEDIT>0</NOEDIT>
         <TYPE>N</TYPE>
         <SEXCL>N</SEXCL>
         <EEXCL>N</EEXCL>
         <HLO missing=" " />
         <DECSEP missing=" " />
         <DIG3SEP missing=" " />
         <DATATYPE missing=" " />
         <LANGUAGE missing=" " />
      </ROW>

      <ROW>
         <DELTA-RECORD key="YESNO" />
         <FMTNAME>YESNO</FMTNAME>
         <START>0</START>
         <END>0</END>
         <LABEL>NO</LABEL>
         <MIN>1</MIN>
         <MAX>40</MAX>
         <DEFAULT>3</DEFAULT>
         <LENGTH>3</LENGTH>
         <FUZZ>0</FUZZ>
         <PREFIX missing=" " />
         <MULT>0</MULT>
         <FILL missing=" " />
         <NOEDIT>0</NOEDIT>
         <TYPE>C</TYPE>
         <SEXCL>N</SEXCL>
         <EEXCL>N</EEXCL>
         <HLO missing=" " />
         <DECSEP missing=" " />
         <DIG3SEP missing=" " />
         <DATATYPE missing=" " />
         <LANGUAGE missing=" " />
      </ROW>

      <ROW>
         <FMTNAME>YESNO</FMTNAME>
         <START>1</START>
         <END>1</END>
         <LABEL>YES</LABEL>
         <MIN>1</MIN>
         <MAX>40</MAX>
         <DEFAULT>3</DEFAULT>
         <LENGTH>3</LENGTH>
         <FUZZ>0</FUZZ>
         <PREFIX missing=" " />
         <MULT>0</MULT>
         <FILL missing=" " />
         <NOEDIT>0</NOEDIT>
         <TYPE>C</TYPE>
         <SEXCL>N</SEXCL>
         <EEXCL>N</EEXCL>
         <HLO missing=" " />
         <DECSEP missing=" " />
         <DIG3SEP missing=" " />
         <DATATYPE missing=" " />
         <LANGUAGE missing=" " />
      </ROW>
   </TABLE>
</LIBRARY>