Examples

Pipelines v2.1

 

The following examples are intended to demonstrate the range of builtin stage commands that are supplied with Pipelines version 2.1. The examples themselves are not intended to represent the most efficient or effective method of solving any given problem, they are provided as a reference; to demonstrate how you might use many of the different stage operands at work.

Home

 

Need to add a link to the input directory of example input files

 

 

Adding and removing records
 
adding a header record
discarding records
inserting blank records
removing a block of records
removing blank records
removing leading blank records
removing multiple blocks of records
removing trailing blank records 1
removing trailing blank records 2
removing trailing blank records 3
 
Subroutine
 
ascii to ebcdic
copy
ebcdic to ascii
locate
locate and file
max length
parse csv
sort paragraph
wrapping records
 
Processing multiple files
 
counting records
creating multiple output files
reading multiple files
running a pipeline with nowait

running a pipeline with wait

searching files for a pattern

select files by size and date

splitting a file
 
Sorting
 
a filelist sorted by date and time

duplicate sort

recursive sort

sort

sorting a paragraph

sorting a range of records

Changing records
 
arranging text in vertical columns
arranging text in horizontal columns
building a matrix
changing a csv field
changing records between labels
deleting words
inserting words
joining records
padding records
padding to the longest record length
positioning text
split before target
split using specs
to uppercase
translating a character
translating a character set
translating words
truncating records
 
Miscellaneous
 
ascii32-126
buffering records
collapsing duplicate record sets
collate machine snapshots
create table
delaying a command
machine snapshot
reading a file backwards
using shellexecute
 
Searching for phrases and patterns
 
locate and mark
searching for a word or phrase
searching for an expression within a word range
searching for multiple words

selecting files with specific attributes

validating a url