The GET-CODEPAGE function returns the code page of a LONGCHAR variable or CLOB field.
Syntax
GET-CODEPAGE ( large-char-object )
large-char-object
The name of a LONGCHAR variable or CLOB field. If the specified LONGCHAR is empty and the code page was not fixed using the FIX-CODEPAGE statement, the AVM returns the Unknown value (?).