Using REXX with QMF forms

Note to CICS users

FORM.CALC, FORM.CONDITIONS, and Column Definition use expressions written in REXX, which QMF does not support in CICS.

Expressions used in FORM.CALC, FORM.CONDITIONS, and FORM.COLUMNS (Column Definition) can consist of terms (strings, symbols, and functions) interspersed with operators and parentheses. Do not execute QMF commands (using the callable or command interfaces) from within a REXX expression or exec.

Strings are literal constants enclosed in single or double quotation marks. For example, 'High' and "Low".

Symbols are numeric literals (numbers), variables, or nonnumeric literals without quotation marks.

Functions have the following syntax:

function-name([[expression][,][expression][,] ...])

where 0 to nexpression arguments can exist (n is the maximum number of comma-separated expressions allowed by REXX).

Function-name must identify either a built-in function or an external function, for example, a REXX program. Evaluation of an expression is left to right, modified by parentheses and by operator precedence in the usual algebraic manner (with the exception of the minus prefix). See Operator Priorities.

[ Previous Page | Next Page | Contents | Index ]