Previous Topic: INTERPRET InstructionNext Topic: Format for OPTIONS Instructions


OPTIONS Instruction

The OPTIONS instruction under OPS/REXX accepts the following keywords:

OPTIONS [MAXTIME=seconds | NOMAXTIME]
  [MAXSECONDS=seconds | NOMAXSECONDS]
  [MAXCLAUSES=clauses | NOMAXCLAUSES]
  [MAXSAYS=count | NOMAXSAYS]
  [MAXCMDS=count | NOMAXCMDS]
  [MAXCOMMANDS=count | NOMAXCOMMANDS]
  [MAXSTRING=bytes | NOMAXSTRING]
  [FIRELIMIT=times | NOFIRELIMIT]
  [OPSWXTRN=name]
MAXTIME=seconds or MAXSECONDS=seconds

(Optional) Changes the limit on execution time.

NOMAXTIME or NOMAXSECONDS

(Optional) Skips monitoring of execution time.

MAXCLAUSES=clauses

(Optional) Changes the limit on clauses executed.

NOMAXCLAUSES

(Optional) Skips monitoring of clause execution.

MAXSAYS=count

(Optional) Changes the limit on how many SAY instructions executed.

NOMAXSAYS

(Optional) Skips limit checking for SAY instructions.

MAXCMDS=count or MAXCOMMANDS=count

(Optional) Changes the limit on host commands executed.

NOMAXCMDS or NOMAXCOMMANDS

(Optional) Skips monitoring of host command execution.

MAXSTRING=bytes

(Optional) Sets maximum string length for all strings.

The maximum value you can specify for the MAXSTRING keyword is 32000. The limit set by the MAXSTRING keyword is approximate; you cannot set an exact limit on string length.

NOMAXSTRING

(Optional) Uses the default maximum string length of 32000.

FIRELIMIT=times

(Optional) Changes how many times a rule can execute. This keyword is valid only for rules. Setting a FIRELIMIT value of zero is equivalent to setting no limit on rule execution.

NOFIRELIMIT

(Optional) Skips monitoring of rule executions.

OPSWXTRN

(Optional) Indicates to OPS/REXX which external subroutines, built-in functions, and load modules are not absolutely required to be present prior to execution. The name represents the name of an external subroutine whose presence in the environment is optional and whose absence is accounted for by the program logic.

The value of name must be a valid member name from 1 to 8 characters in length.