EasyManua.ls Logo

HP NonStop SQL/MP

HP NonStop SQL/MP
331 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Character Processing Rules (CPRL) Procedures
HP NonStop SQL/MP Programming Manual for C429847-008
11-18
CPRL_GETNUMTABLE_
nextstringlength
specifies the number of bytes of nextstring that were scanned. (If
CPRL_GETNEXTINSEQUENCE_ is successful, nextstringlength and
nextstringmaxlength are equal.)
CPRL_GETNEXTINSEQUENCE_ pads nextstring with blanks up to
nextstringmaxlength, and nextstringlength is the length of nextstring
up to the point where the blank begin (nextstringlength should also be the
same as inputstringlength).
cprladdr
is a pointer to the SQL collation or collation object.
CPRL_GETNUMTABLE_
The CPRL_GETNUMTABLE_ procedure extracts numeric character class information
from an SQL collation or collation object.
The CPRL_GETNUMTABLE_ procedure returns these values:
array
is a 256-byte array specified by the user. If the call is successful,
CPRL_GETNUMTABLE_ 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.
#include <cextdecs(CPRL_GETNUMTABLE_)>
short CPRL_GETNUMTABLE_ (
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.
1 The corresponding character code in the SQL collation or collation object
is numeric.
0 The corresponding character code in the SQL collation or collation object
is not numeric.

Table of Contents

Related product manuals