String.fromEbcdicHex()



Convert a string of EBCDIC hex to a string of text.

Parameters

  1. Hex string

Return Value

This API returns a string value.

Exception Handling

An error can be thrown if an invalid hex value is passed to the API.

Example

pjs.define("FieldF", { type: 'char', length: 1 }); FieldF = String.fromEbcdicHex('01');