HP 3000 Manuals

NLAPPEND [ MPE/iX Intrinsics Reference Manual ] MPE/iX 5.0 Documentation


MPE/iX Intrinsics Reference Manual

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

Commands              None

Manuals               Native Language Programmer's Guide (32650-90022)



MPE/iX 5.0 Documentation