base.Channel.write

Writes a list of data delimited by a separator to the channel.

Syntax

write(
   [ variable-list ] )
  1. variable-list is a list of program variables separated by a comma, or record.*

Usage

After opening a channel, use the write() method to write a record of data to the channel.

The write() method uses the field delimiter defined by setDelimiter().

The write() method takes a modifiable list of variables as the parameter, using the [ ] square brace notation.

The method raises error -6345 if the channel fails to write data.

Example

CALL ch.write([cust_rec.*])