Pipelines
Pipelines
v2.1

ARRAY
v2.1
Pipelines
v2.1

 (1)                          ┌─FROM─1─┐
 >>──ARRAY──name──┬────────┬──┼────────┼───────────────────────────────────────────><
                  └─BUFFer─┘  └─FROM─n─┘

 (2)                          ┌─FROM─1─┐
 >>──ARRAY──name──────────────┼────────┼──┬────────┬──┬──────┬─────────────────────><
                              └─FROM─n─┘  └─APPend─┘  └─KEEP─┘
        

Use the ARRAY stage to (1) retrieve or (2) set an ooRexx compound variable whose name begins with the array you specify.

For each variable retrieved, ARRAY writes a separate record containing the variables' value to its primary output stream. By default, output records are written beginning with name[1], followed by name[2], name[3] and so on until the number of records written equals the value of name~items.

Without specifying additional stage command options; the output records are written in ascending order of the numeric suffix of the variables until the number of records written equals the size of the array. When ARRAY is not the first stage of a pipeline, ARRAY sets variables. By default, when ARRAY is used to set variables, it sets one variable for each record in its primary input stream. Variables name[1] through name[n], where n is the number of records in the primary input stream, are set to the contents of the first through the nth input stream record, respectively.


Section


Version
Date
Action
Description
Pipelines
1.0
22.22.2222
updated
A big long line of text that goes on and on, maybe it goes on even more
1.0

Rexx example
Pipelines
v2.1

 (1)                          ┌─FROM─1─┐
 >>──ARRAY──name──┬────────┬──┼────────┼───────────────────────────────────────────><
                  └─BUFFer─┘  └─FROM─n─┘
         
 (2)                          ┌─FROM─1─┐
 >>──ARRAY──name──────────────┼────────┼──┬────────┬──┬──────┬─────────────────────><
                              └─FROM─n─┘  └─APPend─┘  └─KEEP─┘
    

This is my first paragraph.

THIS IS 'monospace' Pipelines, which executes under the umbrella of ooRexx, allows you to modify the contents of a text/data file or files, quickly and easily. You can specify that only certain sections of a file are to be changed; you can confine those changes to a column, word or field range, translate words and phrases, discard or insert new lines of data. You can perform a whole range of operations on a file or files, using only a simple set of commands. You may find Pipelines useful for data-mining or updating extremely large log-files; searching for and replacing values based on simple pattern matching or complex expressions using regular expression parsing, in reverse record-order if necessary. A pipeline can call third-party WIN32 programs, issue system (CMD) and Powershell commands; capturing console output in order to operate on the data. You can connect multi-purpose pipelines together to quickly construct an on the fly solution to a wide range of transformation problems that might otherwise consume a great deal of your time.

THIS IS 'native' Pipelines, which executes under the umbrella of ooRexx, allows you to modify the contents of a text/data file or files, quickly and easily. You can specify that only certain sections of a file are to be changed; you can confine those changes to a column, word or field range, translate words and phrases, discard or insert new lines of data. You can perform a whole range of operations on a file or files, using only a simple set of commands. You may find Pipelines useful for data-mining or updating extremely large log-files; searching for and replacing values based on simple pattern matching or complex expressions using regular expression parsing, in reverse record-order if necessary. A pipeline can call third-party WIN32 programs, issue system (CMD) and Powershell commands; capturing console output in order to operate on the data. You can connect multi-purpose pipelines together to quickly construct an on the fly solution to a wide range of transformation problems that might otherwise consume a great deal of your time.

This is an example of a piece of code:

    'pipe literal',
    '| duplcate',
    '| cons'
    

This is an example of a document hyperlink:

Pipelines

This is an example of the bulleting for operands:

This is an example of a table:

Col1 Col2 Col3
Row 1 - col 1 Row 1 - Col 2 Row 1 - col 3
Row 2 - col 1 Row 2 - Col 2 Row 2 - col 3









I am a book mark