Data Model > Available DSCs > Triple-S DSC > Reading from Triple-S files > Custom properties created when reading from Triple-S files
 
Custom properties created when reading from Triple-S files
When the Triple-S DSC uses a Triple-S metadata file to read a Triple-S case data file, it creates custom properties in the generated UNICOM Intelligence Metadata Model (MDM) document to store additional information about the format of the Triple-S data.
If the generated MDM document is used to create further Triple-S files, many of these custom properties will define the content of those files. For more information, see Custom properties used when writing to Triple-S files.
The Triple-S DSC creates a user context to store many of the custom properties. The actual user context that it creates depends on the value of the format attribute (if specified) in the Triple-S metadata file's <record> element, as follows:
Value of format attribute
Implied format of Triple-S case data
User context created
"fixed", or if format attribute not specified
Fixed-format fields
CARDCOL
"csv"
Comma-separated values
CSV
For those custom properties that are created in the CARDCOL user context, the Triple-S DSC always stores the custom properties in the DataSourceProperties collection for the mrPunchDsc DataSource object. For those custom properties that are created in the CSV user context, the Triple-S DSC always stores the custom properties in the DataSourceProperties collection for the mrCsvDsc DataSource object.
Note that the Triple-S DSC also creates some custom properties in the Analysis user context, regardless of the implied format of the Triple-S case data. The Triple-S DSC also stores some of these custom properties in the DataSourceProperties collection for the mrPunchDsc or mrCsvDsc DataSource object, depending on the implied format of the Triple-S case data.
See also
Custom properties on the Document object
Custom properties on variable instances
Custom properties on elements
Reading from Triple-S files