FCOPY Reference Manual (32212-90008)

Chapter 5 71
FCOPY Functions
EBCDICIN/EBCDICOUT
EBCDICIN/EBCDICOUT
EBCDICIN translates code from EBCDIC to the character code specified in the translation
table of the language you select. EBCDICOUT translates code from the character code
specified in the translation table of the language you select to EBCDIC. When you do not
specify a language, EBCDICIN translates code from EBCDIC to ASCII, and EBCDICOUT
translates code from ASCII to EBCDIC.
Syntax
;{EBCDICIN
EBCDICOUT}[={
field
(
field
[;
field
[;...] ])}[,EXCLUDE][;LANG=
language
] ]
Where:
field
Is a single unsigned integer or a pair of unsigned integers representing
column numbers within the records in the form
a
;
a
,
b
; or
a:b
. (The first
column of a record is column #1.)
In the form
a
a
is the starting column
the last column in the record is the ending column
In the form
a
,
b
a
is the starting column
b
is the number of columns to be converted
In the form
a
:
b
a
is the starting column
b
is the ending column
EXCLUDE Specifies that the referenced fields are not to be converted, but all other
fields will be converted.
language
Is the name or number of a supported language. FCOPY uses the
translation table associated with the specified language. The default is
NATIVE-3000. When using a 16-bit character language, you get an error
(#971).
Operation
Use EBCDICIN and EBCDICOUT to translate information from a different computer code
system to the HP 3000 code system. For example, you would use EBCDICIN to translate
information from IBM codes to HP 3000 codes, and EBCDICOUT to translate information
from HP 3000 codes to IBM codes.