Qp2paseCCSID()--Retrieve IBM PASE for i CCSID


  Syntax
 #include <qp2user.h>             /* for ILE programs */
 #include <as400_protos.h>        /* for IBM PASE for i programs */  

 int Qp2paseCCSID(void);

  Service Program Name: QP2USER (for ILE programs)

  IBM PASE for i Library: libc.a (for IBM PASE for i programs)

  Default Public Authority: *USE

  Threadsafe: Yes

Note: This function can be used in either an ILE program or an IBM® i PASE program. See the IBM PASE for i topic collection for more information about creating IBM PASE for i programs.

Qp2paseCCSID() returns the IBM PASE for i CCSID (coded character set identifier) from the last time the IBM PASE for i CCSID was set. The IBM PASE for i CCSID is set when an IBM PASE for i program starts, and can be changed by the IBM PASE for i runtime function _SETCCSID.


Parameters

None.


Authorities

None.


Return Value

The function result is a coded character set identifier (CCSID), or 0 if IBM PASE for i CCSID information is not available (such as when no IBM PASE for i program is running in the job).


Related Information



API introduced: V5R2

[ Back to top | IBM PASE for i APIs | APIs by category ]