Commands

Pipelines v2.1

 

Home

 

Keep this blank line for now

 

Stage command

Description

 

 

< (FILEIN)

Reads records from a disk file.

> (FILEOUT)

Creates or replaces a disk file.

>> (FILEAPPend)

Creates or appends records to a disk file.

ARRAY

Gets or sets an ooRexx variable with the specified array.

BETWEEN

Selects records between two specified target strings including the records containing the target.

BUFFER

Accumulates all records in a single stage not passing any on until all have been received.

CALLpipe

Connects to another pipeline.

CHANGE

Replaces a string of characters with another string of characters.

CHOP

Selectively truncates records.

COLLATE

Matches records from two input streams and writes matched and unmatched records to different output streams.

CONSole

Reads from or writes to the console.

COUNT

Counts bytes, whitespace-delimited character strings, or records.

DEAL

Writes a primary input stream record to one of its connected output streams in either sequential order; starting with the primary output stream, or some other order specified on the secondary input stream.

DELAY

Waits until a particular time of day or until a specified interval of time has passed to copy a primary input stream record to its primary output stream.

DROP

Discards one or more records.

DUPlicate

Writes each input record in addition to the specified number of copies of each input record.

ELASTIC

Puts a sufficient number of input records into a buffer to prevent a pipeline stall.

FANIN

Combines multiple input streams into a single stream in a specified order.

FANINANY

Combines multiple input streams into a single stream.

FANOUT

Copies primary input stream records to multiple output streams.

FILEAPPend (>>)

Creates or appends records to a disk file.

FILEIN (<)

Reads records from a disk file.

FILELIST

Searches for a disk file or files.

FILEOUT (>)

Creates or replaces a disk file.

FROMLABel

Selects records that follow a specified target including the target record.

HOLE

Discards records.

IN

Reads records from STDIN or the CALLPIPE stage of the calling pipeline.

INSIDE

Selects records between two specified targets not including the records containing the target.

JOIN

Concatenates groups of records.

LITeral

Writes the specified data to the primary output stream and then copies primary input stream records to the primary output stream.

LOCate

Selects records that contain a specified string of characters.

LOOKUP

Finds records in a reference.

NLOCate

Do not select records that contain a specified string of characters.

OUT

Writes records to STDOUT or the CALLPIPE stage of the calling pipeline.

OUTSIDE

Selects records not located between two specified targets. The records containing the targets are not selected.

OVERlay

Reads a record from each input stream and merges the records read into a single record.

PAD

Extends records with one or more occurrences of a specified character.

PROGRESS

Produces an output record after a specified number of input records have been read.

RUNpipe

Runs another pipeline.

SHELLexecute

Executes a DOS/system shell or Powershell command or the specified executable process.

SNAKE

Builds a multicolumn page layout.

SORT

Arranges records in ascending or descending order.

SPECs

Rearranges the contents of records.

SPLIT

Splits records into multiple output records.

STEM

Gets or sets an ooRexx variable with the specified stem.

STRIP

Removes leading and/or trailing characters from records.

TAKE

Selects one or more records from the beginning or end of the primary input stream.

TOLABel

Selects records that precede a specified target not including the target record.

TRANSlate

Translates characters based on the specified translation table.

UNIQue

Compares the contents of adjacent records and discards or retains the duplicate records.

VARiable

Gets or sets an ooRexx variable.

 

 

Pre-process
command

Description

 

 

CASEI

Perform a non-case-sensitive selection comparison.

ZONE

Restrict data selection to a specific column range.

 

 

Input/output
command

Description

 

 

OUTPUT

Writes a record to the specified output stream.

PEEKTO

Reads a record without removing the record from the input stream.

READTO

Reads a record.