Using Conditional Blocks

If you have text that you want to appear only if a variable resolves to a non-null value, you should place them together between square brackets.

Example Template:

[This line is generated if "Exist" is not null: %Exist%]
This line is generated even if "Exist" is null: %Exist%

Output (if Exist is null):

This line is generated even if "Exist" is null:

Output (if Exist is not null):

This line is generated if "Exist" is not null: Y
This line is generated even if "Exist" is null: Y

For more information see Conditional blocks.


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com