HP-UX SNAplus2 CSV Programmer's Guide

Common Service Verbs Reference
CONVERT
Chapter 2 47
The operating system has encountered an error while
processing the verb. The operating system return code
is returned through the
secondary_rc
. If the problem
persists, consult the System Administrator for
corrective action.
For the meaning of the operating system return code,
see the file /usr/include/errno.h (HP-UX systems)
or to your operating system documentation (Windows
systems).
Creating a Type-G Conversion Table
You can use the GET_CP_CONVERT_TABLE verb to build a type-G,
user-written conversion table. The GET_CP_CONVERT_TABLE verb is
described in detail later in this chapter.
The table must be an ASCII file 32 lines long. Each line must consist of
32 hexadecimal digits, representing 16 characters. The first 16 lines (256
characters) specify the EBCDIC characters to which ASCII characters
are converted; the remaining 16 lines specify the ASCII characters to
which EBCDIC characters are converted.
For SNAplus2, the hexadecimal digits A–F can be either uppercase or
lowercase. However, you may want to make these digits uppercase to
ensure compatibility with IBM's OS/2 Extended Edition.
The file /opt/snatblg.dat delivered with SNAplus2 contains a sample
type-G conversion table which converts the first 127 characters of an
ASCII code page to EBCDIC. Here is a listing of that file:
00010203372D2E2F1605250B0C0D0E0F
101112133C3D322618193F27221D351F
405A7F7B5B6C507D4D5D5C4E6B604B61
F0F1F2F3F4F5F6F7F8F97A5E4C7E6E6F
7CC1C2C3C4C5C6C7C8C9D1D2D3D4D5D6
D7D8D9E2E3E4E5E6E7E8E9ADE0BD5F6D
79818283848586878889919293949596
979899A2A3A4A5A6A7A8A9C06AD0A107
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000