CREATING KSAM FILES PROGRAMMATICALLY [ KSAM/3000 Reference Manual ] MPE/iX 5.0 Documentation
KSAM/3000 Reference Manual
CREATING KSAM FILES PROGRAMMATICALLY
The user must provide a language ident ification number when calling
FOPEN to build a KSAM file. The language identification number is stored
in word 10 of the KSAMPARAM array. The FOPEN intrinsic checks each time
a KSAM file is opened to determine whether the language used is
configured on the system. For backward compatibility reasons bit 11 in
the flagword (word 15) must be set to 1 if a language other than 0
(NATIVE-3000) is used, to denote that word 10 contains valid information.
If bit 11 of flagword is 0, the default language, NATIVE-3000, is used
and the data in word 10 is ignored. If the language is not configured,
condition code CCL is returned by FOPEN .
The file system error messages listed in Table F-2 have been included
with NLS:
Table F-2. KSAM File System Error Messages
------------------------------------------------------------------------------------------------
| | | | |
| ERROR# | MESSAGE | CAUSE | ACTION |
| | | | |
------------------------------------------------------------------------------------------------
| | | | |
| 196 | LANGUAGE NOT SUPPORTED | The language name | Ask the System Manager to |
| | | or number specified | configure the language on |
| | | for FOPEN is not | your system. |
| | | configured on your | |
| | | system, or is not a | |
| | | valid language name | |
| | | or number. | |
| | | | |
| 197 | NATIVE LANGUAGE SUPPORT | An NLS MPE error | Contact your |
| | RELATED ERROR. | occurred on a FOPEN | Hewlett-Packard support |
| | | call. | representative. |
| | | | |
------------------------------------------------------------------------------------------------
MPE/iX 5.0 Documentation