The following is a complete list of the valid keywords that are subordinate to the SKIPRECIF, AND, OR keywords.
This example copies all records whose CUST-PURCHASE-CODE value is not equal to an 'A', to the output file NONADATA, but it writes all records whose CUST-PURCHASE-CODE value is equal to an 'A', to the output file ADATA.
COPY, LAYOUTFILE(LAYOUT), OUTFILE(NONADATA), SKIPRECIF(CUST-PURCHASE-CODE,EQ,C'A'), WRITE(ADATA)
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|