<APPEND>

The <APPEND> command adds insert pages or insert records before or after the current document. EngageOne™ Enrichment makes additions in the order in which it encounters the <APPEND> command in the rule file. The <APPEND> command syntax is as follows:

<APPEND> name [place]

where name is one of the following:

  • An <insertpage> tag name value that begins with %% from the control file (to add one or more pages).
  • An <insertrec> tag name value that begins with %% from the control file (to add one or more records).

where [place] is one of the following:

  • B[EFORE] Add the insert pages or insert records immediately before the current document.
  • A[FTER] Add the insert pages or insert records immediately after the current document. A[FTER] is the default.

For example:

<APPEND> input1 BEFORE
IF %%varname = 21 THEN
<APPEND> %%insertpage1 AFTER
ENDIF

The <APPEND> command place value overrides the Insertpage or Insertrec group <PLACE> tag setting.

The <APPEND> command can only be used in the DOCUMENT section of the rule file.