Important

   

This documentation space contains information about PATROL Agents when deployed in a TrueSight Operations Management environment. If you are a BMC Helix Operations Management user, see PATROL Agent 22.1 for BMC Helix Operations Management. Open link

ebcdic_to_ascii()

Convert a string from EBCDIC character codes to character codes.

Syntax

ebcdic_to_ascii(string)

Parameters

Parameter

Definition

string

EBCDIC encoded string to be converted toASCII encoding

Description

Converts string of ASCII character codes to the corresponding EBCDIC character codes. 

EBCDIC characters that do not exist in ASCII are arbitrarily assigned to extended ASCII characters (character codes greater that 128). However they are mapped one-to-one so that data can be converted between EBCDIC and ASCII repeatedly without data loss. See also ascii_to_ebcdic()

PATROL normally handles character conversion internally, and this sort of conversion is not normally required. However, this function may be used to force conversion if required when using external resources.

Was this page helpful? Yes No Submitting... Thank you

Comments