Example
If the value of SOURCE_FIELD1 is an ‘A’, map SOURCE_FIELD1 to TARGET_FIELD1. Otherwise, do not map TARGET_FIELD1. This causes the source record not to be processed (since at least one target field has not been mapped).
PROCESS INTO OUTPUT_DATASTORE
SELECT
{
IF SOURCE_FIELD1 = 'A'
{
REPLICATE(OUTPUT_DATASTORE)
}
FROM INPUT_DATASTORE;