Rocket® Enterprise Developer (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
PFI_IDPES_FN_DISPLAY_TO_UTF16
Converts COBOL DISPLAY encoded strings to UTF-16 encoded strings.
Syntax:
typedef cblt_rtncode (*PFI_IDPES_FN_DISPLAY_TO_UTF16)(
cobuns8_t in_string,
cobuns32_t in_len,
cobuns8_t out_string,
cobuns32_t *out_len);
On Entry:
| in_string | COBOL DISPLAY encoded string |
| in_len | Size of in_string |
| out_len | Maximum size of out_string, or 0 for function to return the required size of out_string |
On Exit:
| out_string | UTF-16 encoded string |
| out_len | Size of out_string, or required size if 0 specified on input, or if function returns IDPES_BUFFER_TOO_SMALL |
Return codes:
| 0 | IDPES_SUCCESS |
| 1 | IDPES_BUFFER_TOO_SMALL |
Comments:
Used by user exits to convert COBOL DISPLAY encoded strings into UTF-16 encoded ones