Show TOC

 Example: Bank Compression

Note that the symbol keys listed are examples. In the following examples, all characters (formatted both as hidden and not hidden) for the symbols are shown visible.

Example for AND / OR Operators

You want to output an address:

Name:

<02GKNA1NAME1>

Street:

<02GKNA1STRAS>

City:

<02GKNA1ORT01>

It only makes sense to output this section if a name exists for the address.

As only one control symbol exists, you can choose either AND (-) or OR (+) as the logic operator. The example shows an OR condition, that is, no text is output if no value is found for at least one control symbol.

<13BNG001(+:02GKNA1NAME1)>

Name:

<02GKNA1NAME1>

Street:

<02GKNA1STRAS>

City:

<02GKNA1ORT01>

<13ENG001>

Blank compression ensures that the system checks first whether a value exists for symbol GKNA1NAME1. If this is not the case, the complete group from BNG001 to ENG001 is removed from the document.

Example for Alternative Statement

By defining an alternative statement, you can specify a symbol that is to be printed as an alternative if blank compression is activated.

<13BNG000(+:01GESTRILXFLG)>

<01GESTRILXFLG>

<13CNG000>

<01GESTRIDENT>

<13ENG000>

This syntax means:

If no value is found for the symbol GESTRILXFLG, the value for the symbol ESTRILXFLG is suppressed, but the value for the symbol GESTRIDENT is output.

If a value is found for the symbol GESTRILXFLG, the value for the symbol ESTRILXFLG is output, but the value for the symbol GESTRIDENT is suppressed.