Consultor Eletrônico



Kbase P181822: COPY-LOB does not convert to a LONGCHAR's fixed code page when the source object is a file
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   05/02/2011
Status: Unverified

SYMPTOM(s):

COPY-LOB does not convert to a LONGCHAR's fixed code page when the source object is a file

COPY-LOB converts the code page of a LONGCHAR's data to -cpstream when the source object is a file

The LONGCHAR code page has been fixed using the FIX-CODEPAGE function

The LONGCHAR code page is not changed after the COPY-LOB statement

Only the data going into the LONGCHAR is converted to -cpstream

FACT(s) (Environment):

OpenEdge 10.x
All Supported Operating Systems

CAUSE:

This is expected behavior. If either the source or target object is a file, the target's code page defaults to -cpstream.

FIX:

Use the NO-CONVERT option to prevent the data from being converted to -cpstream.