Previous Topic: ParametersNext Topic: STOP


Keywords

The following is a complete list of the valid keywords that are subordinate to the SKIPRECIF, AND, OR keywords.

ACCUM
CHANGE
EDIT
IF, AND, OR
MOVE
PADCHAR

REPLACE
SELECT
SELLIM
SKIP
STOP
WRITE

For detailed information about these keywords, see the appropriate section in this chapter.

Example

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)