App Studio Configuration Steps

Step 1. Verify That the Server Is Configured for the Code Page of the Data Source

App Studio requires configuration of the WebFOCUS Reporting Server for NLS through the WebFOCUS Reporting Server Console. Verify that the WebFOCUS Reporting Server has been configured for the code page of the data source.

The code page may be an ANSI (Windows) or EBCDIC (mainframe) code page. In general, most Relational Database Management System (RDBMS) tables are stored with ANSI code pages.

Step 2. Verify That the Client is Configured for the Correct Display of Report Output

App Studio requires configuration of the WebFOCUS Client for NLS through the Administration Console. Verify that the WebFOCUS Client has been configured for the correct display of report output in the browser.

Instructions for configuring the WebFOCUS Client for NLS can be found in Configuring a WebFOCUS Client for NLS.

Step 3. Configure App Studio for NLS

You must ensure that all application components are stored with a consistent encoding scheme. For example, you must configure App Studio appropriately for the code page of the procedure and synonym that will be processed so that the WebFOCUS Reporting Server knows how to format the data for display.

App Studio uses ANSI code page UTF-16 by default to store procedures and Master Files. The WebFOCUS Reporting Server also reads data sources in ANSI format by default.

You can change the language in App Studio using Dynamic Language Switch in the App Studio Options dialog box. To access the App Studio Options dialog box, open the Application menu and click Options. In the General section, you can select a language from the Language drop-down menu.

Example: Processing a Procedure With National Characters

A procedure stored by App Studio can pass text as lines of headings and as record selection values to the data access component. A Master File can pass column titles or record selection criteria in an ACCEPT attribute. Consider the following procedure.

TABLE FILE EMPHR
HEADING CENTER
"Société Française Noël en Fête"
"Rapport des Resources Humaine"
SUM EMP_COUNT
RESIGN_COUNT
FIRE_COUNT
COMPUTE TotalPersonnel/I3 = EMP_COUNT + RESIGN_COUNT + FIRE_COUNT;
WHERE PLANTLNG EQ 'Montréal'
END

The procedure contains national characters embedded in the heading as well as in the WHERE phrase that controls selection of records from the EMPHR data source.

WebFOCUS

Feedback