How to: Reference: |
The Synonym Editor enables you to view and edit the attributes of a synonym.
To view and edit synonym attributes:
By default, the Synonym Editor opens to the last view used, the Segment and Field View tab shows a hierarchy of segments and columns on the left, with the attributes and values of the selected item on the right.
Note: The attributes available depend on the type of synonym.
The following image is an example of an SQL data source with a key column selected.
Note: The values for Format, Expression, Description, and Nulls are viewable in the hierarchy with the columns. To edit these values, use the corresponding attribute fields on the right-hand side of the Synonym Editor.
Note: The Synonym Editor does not let you make any changes that would render the Master File unusable. Therefore, you cannot edit any value field that is highlighted gray. In addition, if a change does not have proper syntax or format applied, the field may appear in red text. Messages and warnings appear if you try to save a file that contains an error.
Note: If you close the Synonym Editor without saving your changes, you are prompted to do so.
The following image is an example of an SQL data source with the synonym file name selected.
Note: Information about the attribute that has focus is displayed at the bottom of the attribute list. In this case, an explanation of the SUFFIX attribute appears.
Synonyms can have the following file attributes:
Note: Use the default setting (0) unless you wish to retrieve data from a earlier century. For example, 19xx.
Note: Use the default setting (0) unless you wish to retrieve data from a earlier century. For example, 19xx.
For more information about multilingual descriptions, see Setting Up Multilingual Titles and Descriptions.
Note: The attributes available depend on the type of synonym.
The following image is an example of an SQL data source with a segment selected.
Note: Information about the attribute that has focus is displayed at the bottom of the attribute list. In this case, an explanation of the SEGMENT attribute appears.
Segments in a synonym can have the following attributes:
Note: You must assign a DBA password to the file before setting the Encrypt option on. For details, see Encrypting and Decrypting a Master File. You must then turn the Encrypt option on before adding any records. If you add a record to a segment before setting the Encrypt option on, that value will not be encrypted.
Once a segment is encrypted, you can remove encryption only if you remove the segment and recreate it without turning the Encrypt option on.
Tip: Because there is a loss of processing efficiency when data is encrypted, encryption should be used selectively.
Type. Identifies the segment type and sorting options from the Type drop-down list.
Keys. Records are sorted in a data source by key fields. Enter the number of key fields that you want to use for sorting. For example, no two employees can have the same employee ID number, so you can use that field as the key. A segment instance can have more than one field that makes up the key. That is, two or more field values may be used to distinguish records.
Note: SEGSUF is the data source type of a segment and any descendants it might have, where that type differs from the SUFFIX value.
For more information about multilingual descriptions, see Setting Up Multilingual Titles and Descriptions.
Note: The attributes available depend on the type of synonym.
The following image is an example of an SQL data source with a key column selected.
Note: The attributes available depend on the type of synonym.
Note: Information about the attribute that has focus is displayed at the bottom of the attribute list. In this case, an explanation of the FIELDNAME attribute appears.
Columns in a synonym can have the following attributes:
For more information about multilingual titles, see Setting Up Multilingual Titles and Descriptions.
Note: Additional attributes, DEFCENT and YRTHRESH, are available if the Usage field is set to Date, Time, or DateTime (Timestamp) format. Use these attributes to enter the century and year threshold values for the column or field.
For more information about multilingual descriptions, see Setting Up Multilingual Titles and Descriptions.
OR enables you to specify an acceptable value.
FROM-TO enables you to specify a range of acceptable value fields.
FIND enables you to supply file and field names to instruct WebFOCUS where to search for a data source and for a list of acceptable values. You supply the field name of the data field for which the validation criteria are being assigned, the file name of the target FOCUS data source where the field can be found, and the field name of the target data field that contains the validation criteria.
Note: FIND is only available for FOCUS data sources and does not apply to OLAP-enabled Master Files. Note also that, in the Maintain environment, FIND is not supported when developing a Master File.
These WITHIN statements are added to the synonym through the Dimension Builder to OLAP-enable FOCUS files and relational tables. This enables you to perform OLAP analysis using the OLAP Control Panel, or to use it with the FML Painter.
Note: FIELDTYPE=R indicates a read-only column. This setting is useful for columns that are automatically assigned a value by the RDBMS.
AUTHRESP defines a column that describes the result of an authentication operation. Correct response values must be provided in the ACCEPT attribute (using the OR predicate if more than one value is acceptable).
AUTHTOKEN defines a column that contains a response token to be passed as an input value to the operation to be executed.
Note: The attributes available depend on the type of synonym.
WebFOCUS |