HP-UX SNAplus2 CSV Programmer's Guide

Concepts
Issuing a Verb
Chapter 132
conv_block.source = (char far *) tpstart_name;
conv_block.target = (char far *) tpstart.tp_name;
The fields SV_CONVERT, SV_ASCII_TO_EBCDIC, and SV_AE are
symbolic constants representing integers. These constants are defined in
the CSV header file.
The character array
tpstart_name
contains an ASCII string to be
converted to EBCDIC and placed in the character array
tpstart.tp_name
.
Step 4. Invoke the verb. The only parameter is a pointer to the structure
containing the VCB for the verb.
For HP-UX systems, this is:
ACSSVC_C(&conv_block);
For compatibility with other CSV implementations, the entry points
ACSSVC_P or ACSSVC can be used instead of ACSSVC_C.
For Windows systems, this is:
WinCSV ( (long) ( (char far *) &conv_block ) );
Use the values returned by the verb.
if (conv_block.primary_rc == SV_OK)
{
/* other statements */
.
.
.
}