Convert a string of EBCDIC hex to a string of text.
Parameters
- String of hexHex string
Return Value
This API returns a string value.
Exception Handling
If you pass in the incorrect amount of hex, it is possible that the Buffer module can throw an errorAn error can be thrown if an invalid hex value is passed to the API.
Example
Code Block | ||
---|---|---|
| ||
pjs.define("FieldF", { type: 'char', length: 1 }); FieldF = String.fromEbcdicHex('01'); |
...