GETPIPE

Description

Reads data records from an input pipe.

Syntax

Syntax varies with the programming language.

NoteSTD and BIN pipes are the only valid formats for the GETPIPE command.

Parameters

The GETPIPE command uses values from these SPAREA fields:

NoteGETPIPE is used with Access Service Library only; it is not used with TRS.

Examples

COBOL II

This example reads data from a STD format input pipe into the DATAREC storage area (DATAREC is a data area defined in the RSP program):

SET ADDRESS OF DATAREAC TO SPINTO.
 CALL 'GETPIPE' USING SPAREA.

Usage