Example 1

In this example, the SUBSTR function is used to test records in each member being processed. When the procedure encounters a record in which the condition tests as True, the entire member is dropped from processing. All other members are copied or not copied, according to the default setting on the Copy From panel.

if substr(inrec,4,3) == '333'
then RETURN DROP MEMBER
return