HP NonStop SQL/MP Programming Manual page 285

For c
Table of Contents

Advertisement

Character Processing Rules (CPRL) Procedures
The CPRL_INFO_ procedure returns these values:
Code
Description
0
The operation was successful.
–2
The SQL collation or collation object is invalid.
–4
The version of the SQL collation or collation object is not supported.
–20
The user-specified buffer is not large enough to receive the returned string.
cprladdr
is a pointer to the SQL collation or collation object.
cprlsize
is the length in bytes of the SQL collation or collation object.
is1to1
is set as follows:
1
The encoding for this SQL collation or collation object is a one-to-one
map.
0
The encoding is not a one-to-one map.
lengtheningfactor
specifies the maximum lengthening that encodings can cause. (That is, for a
specified string, the encoding is not more than lengtheningfactor times the
original string length. For SQL collations or collation objects that preserve (or
shorten) the length on encoding, lengtheningfactor is 1.)
characterset
specifies the character set assumed by the SQL collation or collation object:
0
UNKNOWN
101
ISO88591
102
ISO88592
103
ISO88593
104
ISO88594
version
is the format version of the SQL collation or collation object.
HP NonStop SQL/MP Programming Manual for C—429847-008
105
ISO88595
106
ISO88596
107
ISO88597
108
ISO88598
109
ISO88599
11-21
CPRL_INFO_

Advertisement

Table of Contents
loading

Table of Contents