FORM.CONDITIONS uses expressions written in REXX, which is not supported in CICS.
Use FORM.CONDITIONS to enter expressions for conditional formatting. Conditional formatting allows you to create expressions that determine when the formatting variations specified in FORM.DETAIL appear.
You can use conditional formatting to specify detail text for grouped data. The condition is evaluated using data from the first row of the group. If the condition evaluates to true, the detail text for that variation is printed. If the condition evaluates to false, the detail text for that variation is not printed for that group.
FORM.CONDITIONS C A B PASS ID CONDITIONAL EXPRESSION NULLS? --- ----------------------------------------------------- ------ NO *** END *** 1=Help 2=Check 3=End 4=Show 5=Chart 6=Query 7=Backward 8=Forward 9= 10=Insert 11=Delete 12=Report OK, FORM.CONDITIONS is displayed. COMMAND ===> SCROLL ===> PAGE
For more information, see Using REXX with QMF forms.
For example, any database variable that is null (a database null) is replaced with the character string DSQNULL before the expression is passed to REXX for evaluation. You can provide a REXX expression or exec that checks for the string and substitutes 0 (or whatever is appropriate for your purpose) for the database null.
If the expression contains a substitution value that is null, undefined, overflow, has no instance or no relationship, then the entire expression will be set to that value that represents that condition. This expression reduction is performed only on expressions, not comparisons.
If the expression contains more than one substitution value that is null, undefined, overflow, has no instnace or no relationship, then the following order of precedence will be used for expression reduction:
If a null value is returned by the REXX expression, you can pass it to your report.
For more information see the:@IF function.