HPlogo ALLBASE/SQL Message Manual: HP 9000 Computer Systems > Chapter 1 Introduction

Native Language Support

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

If your system has the proper message files installed, ALLBASE/SQL displays prompts, messages and banners in the language you select; and it displays system dates and time according to local customs. In addition, ISQL accepts responses to its prompts in the native language selected. However, regardless of the native language used, the syntax of ISQL and SQL commands--including punctuation--remains in ASCII.

In order to use a native language other than the default, you must follow the steps below:

  1. Make sure your I/O devices support the character set you wish to use.

  2. Set the HP-UX environment variable LANG to the native language (LanguageName) you wish to use. For the C shell, use the following command:

       setenv LANG LanguageName

    For the K shell, use the following command (no spaces before or after the equals sign):

       typeset -x LANG=LanguageName

    For the Bourne shell, use the following commands:

       LANG=LanguageName
       export LANG

    This language then becomes the current language. (If LANG is not set, the current language is n-computer.)

  3. When you create a DBEnvironment, use the LANG= LanguageName option of the START DBE NEW command to specify the language.

You can use native language characters in the DBEnvironment name. If you do so, you must set the LANG environment variable to the same language before you can connect to the DBEnvironment. To avoid confusion, you are advised to use the same language for the DBEnvironment that you use in the LANG variable. Resetting the LANG variable while you are connected to a DBEnvironment has no effect on the current DBE session.

Feedback to webmaster