Developer Documentation Library > Data Model > Available DSCs > Triple-S DSC > Writing to Triple-S files > Variable names and labels when writing to Triple-S files
 
Variable names and labels when writing to Triple-S files
When using a UNICOM Intelligence Metadata Model (MDM) document to write Triple-S metadata and case data files, the Triple-S DSC uses the value of the MDM variable's AliasName property to name the corresponding Triple-S variable. Note that if the specified format of the Triple-S case data is fixed-format fields, AliasName must be stored in the DataSourceProperties collection for the mrPunchDsc DataSource object. If the specified format of the Triple-S case data is comma-separated values, AliasName must be stored in the DataSourceProperties collection for the mrCsvDsc DataSource object.
However, if the value of AliasName is Null, the Triple-S DSC sets the name of the corresponding Triple-S variable to the name of the MDM variable.
Labels
The Triple-S DSC maps MDM labels to default, multilingual, and specialized (modal) texts in Triple-S <title>, <label>, and <value> elements as follows.
Languages
For each language defined in the MDM document, the Triple-S DSC adds a corresponding language identifier to the value of the Triple-S <sss> element's languages attribute. The Triple-S DSC then maps the translations of MDM labels to Triple-S language-specific texts.
Modes
The Triple-S DSC maps MDM labels in the SSS user context to Triple-S default texts, MDM labels in the Question user context to Triple-S interview-specific texts, and MDM labels in the Analysis user context to Triple-S analysis-specific texts. The Triple-S DSC ignores labels in other MDM user contexts. Note that modes are not supported in version 1.2 of the Triple-S standard.
Variable names
Triple-S variables only support standard names formats:
Only support for 1 to 8 characters.
The characters A-Z, a-z, and 0-9 are supported.
Variable names must start with a letter A-Z or a-z.
Upper and lower case are equivalent.
Variable names must be unique within the survey.
Variable names must not contain leading, trailing, or embedded blank characters.
See also
Writing to Triple-S files
Triple-S DSC