Cextdecs Header File; Cprl Return Codes; Table 11-1. Character Processing Rules (Cprl) Procedures - HP NonStop SQL/MP Programming Manual

For c
Table of Contents

Advertisement

Character Processing Rules (CPRL) Procedures
Table 11-1. Character Processing Rules (CPRL) Procedures (page 2 of 2)
CPRL_GETCHARCLASSTABLE_
CPRL_GETDOWNSHIFTTABLE_
CPRL_GETFIRST_
CPRL_GETLAST_
CPRL_GETNEXTINSEQUENCE_
CPRL_GETNUMTABLE_
CPRL_GETSPECIALTABLE_
CPRL_GETUPSHIFTTABLE_
CPRL_INFO_
CPRL_READOBJECT_
CPRL_UPSHIFT_

cextdecs Header File

The cextdecs header file contains source declarations for CPRL procedures, which
are written in TAL. Use the #include directive as shown in this example to copy the
declarations from the cextdecs header file for the procedures you want to call in your
program:
#include <cextdecs ( FILE_OPEN_ ,
...

CPRL Return Codes

Each CPRL procedure returns specific codes, which are listed in each procedure
description. A return code of zero (0) indicates that the operation was successful.
All other CPRL return codes are negative, so they can be distinguished from
file-system errors, which are always positive. The condition code (CC) setting has no
meaning after the execution of a CPRL procedure.
HP NonStop SQL/MP Programming Manual for C—429847-008
Extracts character class information from an SQL
collation or collation object
Extracts downshift information from an SQL collation
or collation object
Finds the first string of a specified length according
to an SQL collation or collation object
Finds the last string of a specified length according
to an SQL collation or collation object
Finds the next string after a specified string
according to an SQL collation or collation object
Extracts numeric character class information from an
SQL collation or collation object
Extracts SPECIALS character class information from
an SQL collation or collation object
Extracts an array that might be used for upshifting
Returns information about a collation contained in an
SQL collation or collation object
Reads an collation object (with file code 199) from a
Guardian file into a buffer
Upshifts a character string according to the upshift
rules in the specified SQL collation or collation object
WRITEREAD ,
FILE_CLOSE_ ,
CPRL_INFO_ ,
CPRL_UPSHIFT_ )> nolist
11-2
cextdecs Header File
/
/
/
/

Advertisement

Table of Contents
loading

Table of Contents