GetQMFCCSID()


" "

long GetQMFCCSID()

Description

This function retrieves the CCSID used to encode objects stored in the QMF catalog used by the current server. This CCSID governs the data in the Q.OBJECT_DATA.APPLDATA column for relational queries, forms, and procedures. You must call InitializeServer() prior to calling this function.

Return Value

The return value will be the CCSID value if successful or negative one (-1) if an error occurs.

If the return value is unsuccessful (-1), you can call GetLastErrorString(), GetLastErrorType(), GetLastSQLCode(), GetLastSQLError(), or GetLastSQLState() to get additional error information.

Related Tasks

InitializeServer()