HPlogo MPE XL Native Language Programmer's Guide: 900 Series HP 3000 Computer Systems > Chapter 3 NLS Components

NLS Intrinsics

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Application programs and Hewlett-Packard subsystems call NLS to obtain language-dependent information for any language installed on a system. The following table lists the NLS intrinsics and their functions:

Table 3-1 NLS Intrinsic Categories

FunctionIntrinsicDescription
Information RetrievingALMANACReturns numeric data information.
 NLGETLANGReturns the current language.
 NLINFOReturns language-dependent information.
Character HandlingNLCOLLATECompares two character strings.
 NLFINDSTRSearches for a string.
 NLJUDGEDetermines whether a character is a one-byte or two-byte Asian character.
 NLKEYCOMPARECompares strings of different length.
 NLREPCHARReplaces nondisplayable characters.
 NLSCANMOVEMoves and scans character strings.
 NLSTRANSLATETranslates strings to/from EBCDIC.
 NLSUBSTRReturns a string.
 NLSWITCHBUFConverts a string of characters from phonetic order to screen order and vice versa.
Number FormattingNLCONVNUMConverts numbers from native to internal form.
 NLFMTNUMFormats an internal number in native form.
 NLNUMSPECReturns information needed for formatting and converting numbers.
Application Message CatalogCATCLOSECloses a message catalog.
 CATOPENOpens a message catalog.
 CATREADReads information from a message catalog.
 NLAPPENDConcatenates a file name and a language number.

 

Refer to the MPE XL Intrinsics Reference Manual (32650-90028) for a complete description of each intrinsic.

NLS provides support features for language data and local custom formats in FCOPY, IMAGE, KSAM, QUERY, SORT-MERGE, and VPLUS. The emphasis of NLS in the subsystems is on providing the end user, rather than the application designer, with local language data and formats. User interface (prompts, commands, and messages) of the subsystem utility programs are not localized (for example, FORMSPEC and DBUTIL).

NOTE: None of these changes are automatic. All existing applications and jobs work the same way they did prior to the NLS installation unless they are modified to request NLS functions.
Feedback to webmaster