Example: Conditional Output with Alternative

Example

The following syntax is used to output the density value if the density is greater than or equal to 1. If the density is smaller than 1, phrase Density is smaller than 1 will be output:

<15BIF001(AND:01G1013005VA GE 1)><01G1013005VA(;*/TL)[D:value]>

<15CIF001><03EHS_L_TEXT(CUST-100000000000031)[D:Density is smaller than 1]>

<15EIF001>

1st line

Explanations

<15

Symbol type

<15BIF

Start of conditional output

<15BIF001

Conditional output no. 1

<15BIF001(AND

Relation for conditions

<15BIF001(AND:01G1013005VA

Characteristic with data that the condition must fulfill

<15BIF001(AND:01G1013005VAGE

Operator

<15BIF001(AND:01G1013005VA GE1

Comparison value

<15BIF001(AND:01G1013005VA GE 1)><01G1013005VA(;*/TL)[D:value]>

Characteristic that is output when the condition is fulfilled

<15BIF001(AND:01G1013005VA GE 1)><01G1013005VA(;*/TL)[D:value]>

Output of all value assignments of the characteristic

<15BIF001(AND:01G1013005VA GE 1)><01G1013005VA(;*/TL)[D:value]>

Multiple value assignment separated by line feed

<15BIF001(AND:01G1013005VA GE 1)><01G1013005VA(;*/TL)[D:value]>

Description of the characteristic

2. Line

Explanations

<15CIF001

Start of the alternative for conditional output no. 1

<15CIF001><03EHS_L_TEXT(CUST-100000000000031)[D:Density is smaller than 1]>

Phrase that is output when the condition is not fulfilled

<15CIF001><03EHS_L_TEXT(CUST-100000000000031)[D:Density is smaller than 1]>

Phrase text

3. Line

Explanations

<15EIF001>

End of conditional output no. 1