Previous Next

FIX-CODEPAGE statement
Sets the code page of an empty LONGCHAR variable. When set to a valid code page, the code page of the specified variable is fixed and overrides any default behavior in assignment operations (including the COPY-LOB, OVERLAY, and SUBSTRING statements).
Syntax 
 
FIX-CODEPAGE ( longchar ) = codepage 
longchar
The name of a LONGCHAR variable. The variable must be set to the Unknown value (?) or the empty string (""). If the string length is greater than 0, the AVM returns an error.
codepage
A character expression that evaluates to the name of a code page. The name you specify must be a valid code page name available in DLC/convmap.cp. If codepage is the Unknown value (?), the code page of the LONGCHAR variable is not fixed.
See also 
GET-CODEPAGE function, IS-CODEPAGE-FIXED function

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.