Literal input

Filter:

LITERAL

Syntax:

LITERAL expression

Operands:

expression :: string
string :: character_string ,including trailing and leading spaces

Functional Description:



Use the LITERAL stage to write a specified character string as a record to its primary output stream, if it is connected. If the primary input stream for the LITERAL stage contains any records, LITERAL then copies the records from its primary input stream to its primary output stream.

string
is a string of characters that make up a record. The string begins exactly one space after the LITERAL stage and ends with the last character before the stage separator (|), the pipeline end character or the end of the pipeline. It includes any leading or trailing blanks. If you do not specify string, LITERAL creates a null record.

Secondary Input/Output:

none

Usage Notes:

The following example will place the character string "ABCD XYZ " into the pipe input stream.

LITERAL ABCD XYZ |

The following example will place the character string "This is my program data. " into the pipe input stream.

LITERAL This is my program data. |



JAVA Pipelines

Cullen Programming logo