Column Insertion

Filter:

CINSERT

Syntax:

CINSERT column /string/

Operands:

column :: integer > 0
string :: delimiter character_string delimiter
delimiter :: any character not used in the locate string

Functional Description:

Use this stage to insert a character string at a particular column. CINSERT reads records from its primary input stream, inserts the data beginning at the specified column and writes the records to its primary output stream if it is connected.

The column must be greater than or equal to 1.

Secondary Input/Output:

none

Synonyms:

Usage Notes:

The following example will insert string "ABC" at record column 5 through 7 of the record:

| CINSERT 5 /ABC/ |

The following example will insert string "XYZ " at record column 1 through 5 of the record:

| CINSERT 1 /XYZ / |



JAVA Pipelines

Cullen Programming logo