SQL/MP Programming Manual for C
Character Processing Rules (CPRL) Procedures
HP NonStop SQL/MP Programming Manual for C—429847-008
11-14
CPRL_GETDOWNSHIFTTABLE_
array
is a 256-byte array specified by the user. If the call is successful, 
CPRL_GETCHARCLASSTABLE_ sets each byte in array as follows:
If the call is unsuccessful, array is not modified. 
cprladdr
is a pointer to the SQL collation or collation object.
classname
is the name of the user-specified character class. 
classnamelength
is the length of classname in bytes.
CPRL_GETDOWNSHIFTTABLE_ 
The CPRL_GETDOWNSHIFTTABLE_ procedure extracts downshift information from 
an SQL collation or collation object. 
The CPRL_GETDOWNSHIFTTABLE_ procedure returns these values: 
array
is a 256-byte array specified by the user. 
If the call is successful, CPRL_GETDOWNSHIFTTABLE_ sets each byte in array 
to the downshifted version of the corresponding character in the SQL collation or 
collation object. 
If the call is unsuccessful, array is not modified. 
1 The corresponding character code in the SQL collation or collation object 
is in the character class specified by classname. 
0 The corresponding character code in the SQL collation or collation object 
is not in the specified character class. 
#include <cextdecs(CPRL_GETDOWNSHIFTTABLE_)>
short CPRL_GETDOWNSHIFTTABLE_ ( 
 char *array /* o */
 ,long cprladdr ); /* i */
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. 










