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 printed or not printed, according to the default setting on the Print Utility panel.
if substr(inrec,4,3) = '333'
then RETURN DROP MEMBER
return