%Library.Collate
datatype class %Library.Collate extends %Library.Integer
ODBC Type: INTEGER
Datatype to handle validation/display of system collationsMethod Inventory
- DisplayToLogical()
- GetLocalName()
- GetLocalNumber()
- GetSystemDefaultName()
- GetSystemDefaultNumber()
- LogicalToDisplay()
- SetLocalName()
- SetLocalNumber()
Methods
Convert external collation name or abbreviation to internal number.
Flag = 0 - Name to number (default)
Flag = 1 - Abbreviation to number
Flag = 2 - Name or Abbreviation to number
Flag = 0 - Name to number (default)
Flag = 1 - Abbreviation to number
Flag = 2 - Name or Abbreviation to number
classmethod GetLocalName() as %String
Return the name of the collation used in local arrays
by the current process
classmethod GetLocalNumber() as %Integer
Return the number of the collation used in local arrays
by the current process (e.g. 5)
classmethod GetSystemDefaultName() as %String
Return the System default collation name.
classmethod GetSystemDefaultNumber() as %String
Return the System default collation number.
Convert internal collation number to external name or abbreviation.
Flag = 0 - Number to name (default)
Flag = 1 - Number to abbreviation
Flag = 2 - Show Old collations
Flag = 0 - Number to name (default)
Flag = 1 - Number to abbreviation
Flag = 2 - Show Old collations
Set the collation used by the current process in local arrays
col = collation name
col = collation name
Set the collation used by the current process in local arrays
col = collation number (e.g. 5)
col = collation number (e.g. 5)