MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 9 511
Command Definitions (MAIL-PUTJCW)
NLAPPEND
NLAPPEND
NM and CM callable.
Appends a language ID number to a file name that allows an application to designate
which language-dependent file to use.
Syntax
CA I16V U16A
NLAPPEND(
formaldesig,langnum,error
);
Parameters
formaldesig
character array (required)
Passes and returns a formal file designator. When passed, the file name
must end with three blanks. When returned, the language ID has been
appended to the name.
langnum
16-bit signed integer by value (required)
Contains the language ID number, specifying the catalog to be opened.
error
16-bit unsigned integer array (required)
Returns two elements: the first element is the error number; the second
element is reserved and always returns 0. The possible error number
values are:
Value Meaning
0
Successful
1 *NLS not installed
2 *Specified language not configured
3 Invalid file name
4 File name not terminated by three blanks
5 *NLS internal error
6 *NLS internal error
* Do not apply to calls with a
langnum
equal to 0 (NATIVE3000/XL).
Related Information
Intrinsics CATCLOSE, CATOPEN, CATREAD
Manual Native Language Programmer's Guide