Alternate Entry Name: .EBCAS
B: str = ebcasc( asciistr, ebcdicstr, len );
C: char *ebcasc(char *asciistr, const char *ebcdicstr, int len);
EBCASC converts the nine-bit EBCDIC characters of "ebcdicstr" into nine-bit ASCII characters, and stores the result in the location pointed to by "asciistr". A total of "len" EBCDIC characters are converted. Trailing blanks in "ebcdicstr" are removed. EBCASC returns a pointer to the resulting ASCII string.
EBCASC performs its conversion from EBCDIC to ASCII by means of a Move-with-translate instruction, using the external translate table located at "&ebc.as".
Copyright © 1996, Thinkage Ltd.