PUTPIPE

Description

Writes data records to an output pipe. Open ServerConnect then reads the records and sends them to the client application.

Syntax

Syntax varies with the programming language.

Examples

COBOL II

This example writes a 130-byte data record built in a storage area called AREA1 to a STD format input pipe:

MOVE 130 TO SPRECLEN.
 SET ADDRESS OF AREA1 TO SPFROM.
 CALL 'PUTPIPE' USING SPAREA.

Usage

The PUTPIPE command uses values from these SPAREA fields: