Software AG Products 2.4.1 | Reference Guide | Default Statements | Detailed Syntax | @SYNONYM
 
@SYNONYM
The @SYNONYM statement can be used to specify which name Adabas Pre-Compiler uses in the record buffer when generating groups, periodic groups, super descriptor elements and USERVIEW fields.
The syntax of this statement is as follows:
Syntax of the synonym statement
The default is that Adabas Pre-Compiler takes the full field name from the Predict definition when you specify the group, and Adabas Pre-Compiler generates the entire group layout (same as with PE, SP and USERVIEW). The following table lists which synonym Adabas Pre-Compiler takes with this statement, based on their appearance in the Predict:
Synonym
Explanation
NAT
Adabas Pre-Compiler takes the first synonym.
COB
Adabas Pre-Compiler takes the second synonym.
PLI
Adabas Pre-Compiler takes the third synonym.
For a field where the appropriate synonym is blank, Adabas Pre-Compiler uses the full field name. Adabas Pre-Compiler does not change the field names for those fields specified directly in the declaration statement. If you want to use synonyms, you can specify the synonym name in the @ADADCL statement. In that case, it's better to use @OPTIONS SYNONYM instead of this statement.