SHOW name[,condition]
name
Name of the variable whose value is to be shown.
condition
Condition under which the SHOW statement is to be executed. A description of the syntax of conditions is provided in section “Condition syntax”.
The SHOW statement enables the current value of a predefined or explicitly defined variable to be output, possibly depending on a fulfilled condition. When a condition is specified, it must have the true value to permit the procedure statement to be executed. If no condition is specified, the corresponding value is always output.
When the statement is executed, an S variable of the same name is assigned the value of the variable shown in accordance with the type. If the S variable does not yet exist, it is created with the default parameters (e.g. visible at procedure level).