Synopsis

int ugn_EbcdicToAscii(int code)

Purpose

Convert EBCDIC to ASCII

Description

This function will convert the specified EBCDIC code to the corresponding ASCII code.

Input

code

EBCDIC code (0>=x<=255)

Return

ASCII code or -1 if error