General Page
You are in: RPG Cafe > Enhancement for CCSID conversions
Short URL: http://ibm.biz/rpgcafe_ccsidcvt_kw
RPG Cafe: CCSIDCVT keyword
H spec keyword CCSIDCVT:
- Get an exception when a CCSID conversion fails to convert all the data
- Get a list of all the CCSID conversions in the module
Get a list of CCSID conversions in the module
Code CCSIDCVT(*LIST) to find out about all the CCSID conversions done in your module:
- Explicit conversions such as %UCS2 and %CHAR
- Implicit conversions such as assigning an alphanumeric value to a UCS-2 variable
The CCSIDCVT section in the listing includes warnings about any conversions that might result in loss of data.
Get an exception when a CCSID conversion fails to convert all the data
Code CCSIDCVT(*EXCP) to get an exception at run time when a CCSID conversion results in loss of data. Loss of data occurs when the target character set does not have a match for a character in the source data.
Documentation in the IBM Knowledge Center
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzasd/hccsidcvt.htm
Was this topic helpful?
Document Information
Modified date:
09 January 2020
UID
ibm11108209