Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Code Page Definition File Syntax

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Code Page Definition File Syntax
 Login/Join
 
Member
posted
Good morning,

I try to customize my codepage definition file but I have some doubts:

1) Is there a difference between this two lines ?

0A ...NL... ........ 0A C (CDRA: ...LF...)
0A ...NL... ........ 0A C

2) What dose (CDRA: ...LF...) means?
3) If I remove (CDRA: ...LF...) from first line what change in transcoding table?

thanks in advance.

This message has been edited. Last edited by: <Kathryn Henning>,
 
Posts: 2 | Registered: February 26, 2014Report This Post
Virtuoso
posted Hide Post
Code pages and how they work within WF is simple, if you know how code pages work between systems with different code pages. Rather than ask what is this, why don't you open a case with Tech Support and state what your requirements are, then let them suggest how to best accomplish that.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Member
posted Hide Post
Hi dhagen,

Thanks for your reply but I'm a newbie in systems with different code pages and I try to understand how Code pages work within WF. I have read a lot of documentation on customizing NLS and Code Pages ( ei http://documentation.informati...onfop_523/05mvs5.htm ) but something is not so clear for me.

I wrote this post to clarify my doubts and try to customize Code Pages without Tech Support because I have to modify more then one case and not in one codepage translation table.

If you have some document to suggest please give me links or book title.

In the same time I start to open different case to Tech Support and try to clearify my doubts using reverse engineering.

Thanks.


WebFOCUS 8007M
 
Posts: 2 | Registered: February 26, 2014Report This Post
Virtuoso
posted Hide Post
I don't have any doc other than what is present with the software, but most of my knowledge with code pages comes from using and testing with many different clients on a bunch of different operating systems and data bases.

Things you need to know:
- The default code page of your server is critical. This defines what code page the data you are working will get converted to during an execution of a process. Specifically when it comes to writing of data. (a)
- The default code page should encapsulate all the characters you are expecting to process. (b)
- DBMSs can behave differently depending on the DBMS. You have to read all the doc for the DMBSs that you are using. All have their own configuration specifics when you install and configure. For example, DB2 can be installed using a UTF8 code page (it is something like 908 or something close to that), however, if you use the DB2 native CLI to connect, you have to have the environment variable DB2CODEPAGE set to the installed DBMS code page. If you do not, then the client will convert a data stream from what you send it to the client default, then the server will convert it back.

Example:
(a) - I your server is set to code page 65001 (UTF-8), and you read a single byte latin-1 defined file (CODEPAGE=137 in master); If you create a hold file it will be converted to 65001 (the server default). If you need single byte output, then you would have to write the data using a MODIFY to an existing master with the CODEPAGE=137 attribute already present in the file.

(b) - If you server is set to the installed default (437), and you have French characters, If you create a hold file, the French characters will not be held properly because there are no French characters in the 437 code page.

My recommended installation for the last 2 years:
- WF/DM server set to 65001
- WF Web application set to 65001
- configure all DBMSs for UTF8 data
- Add code page attribute to all masters with non-UTF8 data (for example, add CODEPAGE=137 to car.mas)

Lastly, the easiest way to understand this is to play with all the code page settings. I am confident that you can get a high level of understanding with a couple of days of playing around. Also, when it comes to WF, you are primarily dealing with 3 code pages: 437, 137, 65001.

437 is all numbers and symbols and all English characters as single bytes.
137 has all the 437 characters, plus French characters (minus 2 characters), all as single bytes.
65001 has everything in 137, where numbers and English chars are single bytes, all French characters stored as mult-bytes, and virtually every other character from almost every other language you should ever need.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Code Page Definition File Syntax

Copyright © 1996-2020 Information Builders