Change Cross Reference CCSID (QDBCXRC) API


  Required Parameter Group:

1 CCSID Input Binary(4)
2 Error Code I/O Char(*)

  Default Public Authority: *EXCLUDE

  Threadsafe: No

The Change Cross Reference CCSID (QDBCXRC) API changes the CCSID of the system cross reference files.

Note: To be able to use this API, the system must be in the restricted state.


Authorities and Locks

API Public Authority
*EXCLUDE

User Special Authority
*ALLOBJ


Required Parameter Group

CCSID
INPUT; BINARY(4)

The desired coded character set identifier (CCSID) for the system cross reference files. Valid values for the CCSID range from 1 through 65535. For a list of valid CCSID values, see the IBM i ® globalization topic collection. Only CCSID values to which a job can be changed are accepted.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Error Messages

Message ID Error Message Text
CPF24B4 E Severe error while addressing parameter list.
CPF3202 E File &1 in library &2 in use.
CPF328A E System not in proper state to do requested operation.
CPF3CF1 E Error code parameter not valid.
CPF9803 E Cannot allocate object &1 in library &2.
CPF9872 E Program or service program &1 in library &2 ended. Reason code &3.


API introduced: V5R2

[ Back to top | Datebase and File APIs | APIs by category ]