#include <as400_protos.h> int SQLOverrideCCSID400(int newCCSID);
Note: This function can only be used in an i5/OS PASE program. See i5/OS PASE for more information about creating i5/OS PASE programs.
The SQLOverrideCCSID400() function allows an i5/OS PASE program to specify a Coded Character Set Identifier (CCSID) used to convert character data arguments and results on i5/OS PASE SQL Call Level Interface (CLI) functions.
No special authorities required.
The function result is zero for success, or -1 for an error that is further qualified by an errno value.
At least these errno values can be returned:
[EINVAL] | The conversion between newCCSID and the i5/OS
job default CCSID is not supported. |
[ENFILE] | A converter could not be opened because the
maximum number of files in the system are already opened. |
[EMFILE] | A converter could not be opened because the maximum number of files are already opened. |
Top | i5/OS PASE APIs | APIs by category |