Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

HP OpenVMS Systems

ask the wizard
Content starts here

ASCII to EBCDIC, EBCDIC to ASCII? (tapecopy)

» close window

The Question is:

 
We have a program tapecopy which was written
for VAX and we are having trouble porting it to
ALPHA. It calls ETRANS and BTRANS to translate
from EBCDIC or BCD to ASCII.  What would the ALPHA
equivelant to these be?
 


The Answer is :

 
  ETRANS and BTRANS are not OpenVMS routines, these were simple
  routines that used MOVTC and character tables to perform the
  specified translation.  (When asking questions, details of the
  general or expected function of the routine(s) is often useful.)
 
  For character set conversion routines, see the RTL manual, and
  specifically see the lib$tra_asc_ebc and lib$tra_ebc_asc calls.
 

answer written or last revised on ( 25-MAR-1999 )

» close window

 

** About PDF files: The PDF files on this Web site can be read online or printed using Adobe® Acrobat® Reader. If you do not have this software installed on your system, you may download it from Adobe's Web site
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.