Consultor Eletrônico



Kbase P67266: How to determine the code page settings of a Client
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/6/2009
Status: Verified

GOAL:

How to determine the code page settings of a Client

GOAL:

How to verify which code page is set to a session

FACT(s) (Environment):

All Supported Operating Systems
Progress/OpenEdge Versions
OpenEdge Category: Language (4GL/ABL)

FIX:

Running the following code from a client session will display all the code page settings.

If the client is a run time client the code must be compiled first.

DISPLAY SESSION:CHARSET LABEL "charset" FORMAT "x(15)"
SESSION:CPCASE LABEL "CPCASE" FORMAT "x(15)"
SESSION:CPCOLL LABEL "CPCOLL" FORMAT "x(15)"
SESSION:CPINTERNAL LABEL "CPINTERNAL" FORMAT "x(15)"
SESSION:CPLOG LABEL "CPLOG" FORMAT "x(15)"
SESSION:CPPRINT LABEL "CPPRINT" FORMAT "x(15)"
SESSION:CPRCODEIN LABEL "CPRCODEIN" FORMAT "x(15)"
SESSION:CPRCODEOUT LABEL "CPRCODEOUT" FORMAT "x(15)"
SESSION:CPSTREAM LABEL "CPSTREAM" FORMAT "x(15)"
SESSION:CPTERM LABEL "CPTERM" FORMAT "x(15)"
WITH FRAME F SIDE-LABELS 1 COL