Usage

The base.Channel class is a built-in class providing basic input/output functionality for:
The are two modes to read and write data with Channels:
Important: No character set conversion is done when reading or writing data with channel objects. The character set used in the data file must correspond to the locale of the runtime system, for both input and output.
Steps to use a channel object:

Channel methods may raise exceptions. Exceptions can be trapped with the WHENEVER ERROR or TRY/CATCH instructions.

When reading or writing strings, the escape character is the backslash (\).